logging-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [log4j] A better log4j2.debug
Date Mon, 22 Jan 2018 20:46:35 GMT
On Mon, Jan 22, 2018 at 12:49 PM, Ralph Goers <ralph.goers@dslextreme.com>
wrote:

> Properties on the command line should override configurations in files.
>

+1

Gary


> Ralph
>
> > On Jan 22, 2018, at 12:38 PM, Matt Sicker <boards@gmail.com> wrote:
> >
> > On 22 January 2018 at 13:22, Gary Gregory <garydgregory@gmail.com>
> wrote:
> >>
> >> Yikes. What I want to do is use a -D on the command line instead of
> editing
> >> the status attribute in an XML configuration file.
> >>
> >
> > Right, that makes sense. Would this property override the config file or
> > the other way around?
> >
> >
> >> The docs for log4j2.defaultStatusLevel and log4j2.statusLoggerLevel are
> >> very confusing IMO. I suppose I'll have to try both. Can these docs be
> >> improved with an intro sentence for each saying "To do X, use Y"?
> >>
> >
> > Agreed. I'm not entirely sure what combo would make sense, so I'd
> probably
> > just set all three properties to be safe.
> >
> >
> > --
> > Matt Sicker <boards@gmail.com>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message