Properties on the command line should override configurations in files.

Ralph

> On Jan 22, 2018, at 12:38 PM, Matt Sicker <boa...@gmail.com> wrote:
> 
> On 22 January 2018 at 13:22, Gary Gregory <garydgreg...@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 <boa...@gmail.com>


Reply via email to