There are some related properties to what you're proposing already: log4j2.simplelogStatusLoggerLevel log4j2.defaultStatusLevel log4j2.statusLoggerLevel
Though it's a bit confusing setting them here since some of these properties get overridden by the configuration file or only apply in certain life cycles. Are you proposing a unified property that overrides everything globally? Or would the status attribute of the configuration element take precedence? On 21 January 2018 at 13:53, Gary Gregory <[email protected]> wrote: > Hi All, > > I want to toggle between different status levels on the command line > and log4j2.debug can't do that. > > How about adding log4j2.status=level ? > > Gary > -- Matt Sicker <[email protected]>
