Bug 52490 - facelets.viewhandler logger using incorrect configuration
Summary: facelets.viewhandler logger using incorrect configuration
Status: NEW
Alias: None
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Appender (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: log4j-dev
Depends on:
Reported: 2012-01-19 17:37 UTC by Jason
Modified: 2012-01-19 17:38 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Jason 2012-01-19 17:37:43 UTC
I have multiple applications running on two JBoss instances (two separate servers) and one application seems to use another application's log4j.xml with the 'facelets.viewhandler' logger.

All applications use DailyRollingFileAppender, ConsoleAppender & JDBCAppender.

When application a 'app_a' appends an error using logger 'facelets.viewhandler', the errors are appended using the configuration for application b 'app_b' (e.g. '/log/app_b.log', 'exec uspInsertEventLogRecord 'app_b', etc.).  Otherwise logging appends as expected.

The root cause of the error is not a common library and the issue was found by reviewing the package name of the exception (e.g. com.sites.app_a.session).

I pulled down the ear file and confirmed the log4j.xml files are correct and the JBoss instances have been bounced