How to set a Tomcat logs location folder so Joget knows where it is?

Confluence User - 10 Jul, 2024

Hi Guys,

The "Tomcat Logs" feature in Joget shows a list of files in the default Tomcat logs directory $catalina_base$/logs

I have set Tomcat logs to be somewhere else, not in $catalina_base$/logs, through logging.properties file

Now Joget shows the empty $catalina_base$/logs directory when viewing "Tomcat Logs"

How do I tell Joget to look in the correct directory?

log;tomcat;settings

2


11 Jul, 2024
confluenceUser
confluenceUser


depending on your joget version, if its DX 7  its either in log4j2.xml or log4j.properties

Managing Log Files - Knowledge Base for DX 7 - Joget | COMMUNITY

else its in log4j2.xml

Managing Log Files - Knowledge Base for DX 8 - Joget | COMMUNITY

12 Jul, 2024
confluenceUser
confluenceUser

Hi Ian,

I have DX 7 running on Tomcat 9

Didnt find any files named log4j.properties (your link above says before 7.0.25 only)

Found log4j2.xml in (catalina_folder)/webapps/jw/WEB-INF/classes/log4j2.xml

Changed the $LOGDIR to the correct directory.

Now Joget writes joget.log and joget.log.date-1.gz archive to the correct folder.

But Monitor Apps > Tomcat Logs still shows the empty $(catalina_base)/logs folder.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print