You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Chathura Priyankara <pr...@gmail.com> on 2015/04/28 10:47:19 UTC
[Dev][log4j2]Upgrade log4j.properties in to log4j2 configuration
Hi,
I'm in a process of migrating from log4j1.2 to log4j 2.2. When I'm
upgrading log4j.properties files to log4j2.xml configurations I cannot find
how to convert following two lines in log4j.properties in to log4j2.xml.
# Specification of Handler used by Console Logger
handlers=java.util.logging.ConsoleHandler
# Replacing default INFO level with SEVERE
java.util.logging.ConsoleHandler.level=SEVERE
Any help is appreciated.
Thanks!
Chathura.
--
Chathura Priyankara,
Faculty of Information Technology,
University of Moratuwa.
Blog : www.codeoncloud.blogspot.com