Search code examples
log4jliferayliferay-7.2

Which version of log4j is used in Liferay 7.2


I use liferay 7.2.1 GA2, and its have log4j inside. But I can't figure out where it is and which version of it used in liferay. The only thing i found is liferay package com.liferay.portal.log4j.extender in app manager.

Which version of log4j used in liferay? Is it possible to update it for liferay?


Solution

  • Liferay Portal 7.2 uses log4j 1.2.17

    You can check the libraries used by Liferay Portal 7.2 in the lib/versions.html file in the source code, see log4j version of Liferay Portal 7.2 here:

    If you are asking this question due to the Log4j 2.x Zero-Day Vulnerability, it only affects to the Liferay Portal 7.4 version.

    For more information see this post: https://liferay.dev/blogs/-/blogs/log4j2-zero-day-vulnerability