I've ecnountered some problems with logging Liferay 6.0.12 classes on JBoss 5.1.
I need to change log-level for Liferay rss portlet classes, e.g. create another appender or use the default one (server.log) and have logs there with desired debug-level (DEBUG
or WARN
).
As far as i understand jboss-log4j.xml
may override Liferay's configuration, so i tried to modify it. Also I've tried do this from log4j.properties
in ROOT.war/WEB-INF/classes
, tried creating portal-log4j-ext.xml
but none of them worked for me. The only thing i could do - to create another appender, but it was either empty or copy server.log.
Does anybody knows how exactly does it work?
PS Managing log-levels through admin portlet is not acceptable.