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

Reply via email to