You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Dominik Psenner (JIRA)" <ji...@apache.org> on 2015/09/19 00:59:04 UTC
[jira] [Created] (LOG4NET-476) Adjust log level constants to match
log4j
Dominik Psenner created LOG4NET-476:
---------------------------------------
Summary: Adjust log level constants to match log4j
Key: LOG4NET-476
URL: https://issues.apache.org/jira/browse/LOG4NET-476
Project: Log4net
Issue Type: Wish
Reporter: Dominik Psenner
This should be done only in a major release, but fatal, error, warn, info etc should have the same constants. Currently the log levels map differently:
level, log4j, log4net
ALL; -2147483648, -2147483648
DEBUG, 10000, 30000
INFO, 20000, 40000
WARN, 30000, 60000
ERROR, 40000, 70000
FATAL, 50000, 110000
OFF, 2147483648, 2147483648
And this can lead to irritating results when log4j tries to communicate with log4net.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)