pupsnow / as3-commons

Automatically exported from code.google.com/p/as3-commons
1 stars 0 forks source link

Bug in log4j configuration #139

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Run the attached program.

What is the expected output? What do you see instead?

To see the bug, first run the app as is, then uncomment the commented line in 
the logging.properties file. In the first case, the ascii art will be printed, 
in the 2nd case it will not be printed while it should be printed.

Please use labels and text to provide additional information.

See also 
https://groups.google.com/forum/?fromgroups=#!topic/as3-commons-developers/SBJ1M
WFVzEo for more info.

Original issue reported on code.google.com by wim.debl...@gmail.com on 26 Mar 2013 at 4:17

Attachments:

GoogleCodeExporter commented 9 years ago
I tried some more things and I found that using this triggers the bug:

log4j.logger.com.company.log4jtest.testpackage=FATAL
log4j.logger.com.company=INFO

However, adding an extra line makes the bug go away:

log4j.logger.com.company.log4jtest.testpackage=FATAL
# Add this line as workaround
log4j.logger.com.company.log4jtest=INFO
log4j.logger.com.company=INFO

Original comment by wim.debl...@gmail.com on 26 Mar 2013 at 4:17