Liferay Logging Level

Is there any way to set the logging level of Liferay global ? I know the console in server administration, but I want to set the global level not at the package level.

Thank!

+5
source share
2 answers

It was fixed by unpacking portal-impl.jar found in $ server / applications / liferay-portal / WEB-INF / lib, and replacing the contents of META-INF / portal-log4j.xml with my requirements.

+2
source

Due to the ability to configure log4j, any global setting can be overridden by setting the package level.

You can remove any configuration of individual packages (if any). Then the setting for rootLoggertakes effect.

log4j.rootLogger=INFO, stdout

Update

Liferay, portal-log4j-ext.xml. com.liferay, .

+3

All Articles