Where would you want the custom level name to appear?

Ralph

On Oct 30, 2012, at 2:05 PM, Olivier Lamy wrote:

> Hm, my goal is to use slf4j as api with log4j2.
> I would prefer only provide a configuration file and to not have
> specific log4j code introduced.
> 
> 2012/10/30 Gary Gregory <garydgreg...@gmail.com>:
>> Hm... in a custom layout I think...
>> 
>> Gary
>> 
>> 
>> On Tue, Oct 30, 2012 at 2:38 PM, Gary Gregory <garydgreg...@gmail.com>
>> wrote:
>>> 
>>> In 1.2, maybe use reflection?
>>> 
>>> In 2.0, I wonder if we should allow that to be changed and how. In 2.0,
>>> Level is an enum, not a class...
>>> 
>>> Gary
>>> 
>>> 
>>> On Tue, Oct 30, 2012 at 2:19 PM, Olivier Lamy <ol...@apache.org> wrote:
>>>> 
>>>> Hi,
>>>> Is there any way to change the string use for level ?
>>>> I'd like to use WARNING rather than WARN
>>>> 
>>>> Thanks
>>>> --
>>>> Olivier Lamy
>>>> Talend: http://coders.talend.com
>>>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
>>>> For additional commands, e-mail: log4j-dev-h...@logging.apache.org
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
>>> JUnit in Action, 2nd Ed: http://bit.ly/ECvg0
>>> Spring Batch in Action: http://bit.ly/bqpbCK
>>> Blog: http://garygregory.wordpress.com
>>> Home: http://garygregory.com/
>>> Tweet! http://twitter.com/GaryGregory
>> 
>> 
>> 
>> 
>> --
>> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
>> JUnit in Action, 2nd Ed: http://bit.ly/ECvg0
>> Spring Batch in Action: http://bit.ly/bqpbCK
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
> 
> 
> 
> -- 
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
> For additional commands, e-mail: log4j-dev-h...@logging.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to