You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade to Apache Log4j version 2.16.0 or later since 1.x is end of life.
Check if log4j library is needed for client and remove if not needed. If library is removed, check if EMF Client Installer removes the jar file when run (installer probably doesn't have this feature so will need a new issue to add it).
The text was updated successfully, but these errors were encountered:
The EMF uses Apache Commons Logging which works with different logging implementations. The EMF server component uses Log4j as the logging implementation by including the log4j jar and a log4j.properties file in the WAR archive. A typical usage is:
On the server, the log4j.properties file adds formatting to the log messages that are written to Tomcat's catalina.out log file and also creates rolling logs in the user's home directory (emf.log, emf-rolling.log).
While the EMF Client has a very few direct uses of LogFactory and includes the log4j jar file, there's no log4j.properties file so Log4j isn't actually used. On startup, warnings are printed to stderr:
Starting EMF Client
log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Removing the log4j jar from the lib/ directory doesn't cause any problems for running the EMF Client.
The EMF Client Installer program will delete outdated files. The installer keeps track of the existing list of files in the update.dat archive and compares it to the freshly downloaded list in files.txt. Any out-of-date files are deleted. The installer also rewrites the EMFClient.bat file and updates the classpath each time the installer is run.
Message seen when running the EMF Client
Check if log4j library is needed for client and remove if not needed. If library is removed, check if EMF Client Installer removes the jar file when run (installer probably doesn't have this feature so will need a new issue to add it).
The text was updated successfully, but these errors were encountered: