[prev in list] [next in list] [prev in thread] [next in thread]
List: logback-user
Subject: [logback-user] =?utf-8?q?help_-_Can_I_configure_logback_from_outs?= =?utf-8?q?ide_of_the_package=3F_
From: shan shan <logback.shanshan () gmail ! com>
Date: 2012-06-08 15:51:33
Message-ID: CACact-VrkZjng5NWcK_V1jfCpi1yTma4Yafi+fpPJ3G0HLrwCA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Part of my logback.xml file is like that
> <logger name="APICallLogger" level="INFO">
> <appender-ref ref="API_CALL_LOGGER" />
> </logger>
>
> May I configure the log level outside of the package at runtime?
> So everytime when I need to reset the Log level, I don't need to rebuild
> the whole package.
> Are there any way I can do it? Thanks very much for any ideas or
> suggestions.
>
[Attachment #5 (text/html)]
<br><br>
<div class="gmail_quote">
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px \
0.8ex;PADDING-LEFT:1ex" class="gmail_quote"> <div class="gmail_quote">
<div>Part of my logback.xml file is like that</div>
<div><logger name="APICallLogger" level="INFO"> </div>
<div><appender-ref ref="API_CALL_LOGGER" /></div>
<div></logger></div>
<div> </div>
<div>May I configure the log level outside of the package at runtime? </div>
<div>So everytime when I need to reset the Log level, I don't need to rebuild the \
whole package. </div> <div>Are there any way I can do it? Thanks very much for any \
ideas or suggestions. </div></div></blockquote></div><br>
_______________________________________________
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic