Update log4J to version 1.2.17 (from 1.2.16) and change the PatternLayout to EnhancedPatternLayout
Description
Activity
Show:

EdGApril 16, 2013 at 8:46 AM
Hello everyone! We are in the process of removing component "Third Party Libraries" from LPS. Please make the necessary adjustments to your filters. Thanks!

Graeme SteynMarch 25, 2013 at 3:04 AM
Created new pull request to Jorge Ferrer for the 6.2.x version of the fix.

Graeme SteynMarch 13, 2013 at 11:29 PM
Related to http://issues.liferay.com/browse/LPS-9376 where auto.deploy.copy.log4j=true was introduced.

Graeme SteynFebruary 20, 2013 at 3:04 AM
Code changes for this enhancement have been included in the two commit requests.
Completed
Details
Assignee
Lawrence LeeLawrence LeeReporter
Graeme SteynGraeme SteynGit Pull Request
Components
NoneNonePriority
Medium
Details
Details
Assignee

Reporter

Git Pull Request
Components
None
None
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created February 20, 2013 at 1:30 AM
Updated June 26, 2023 at 5:54 AM
Resolved April 9, 2013 at 5:20 PM
Upgrade the log4J library to 1.2.17.
Update
com.liferay.portal.tools.deploy.BaseDeployer
to also copy Log4J extras when auto.deploy.copy.log4j=true - this will be needed as the EnhancedPatternLayout is contained in the extras jar.Update the log4J configuration files to make use of
org.apache.log4j.EnhancedPatternLayout
. The JavaDoc notes the following about the EnhancedPatternLayout: