Change the location of the server log file
For Windows:
If you used the install wizard to install, the pentaho.log
is written to the C:/WINDOWS/system32
directory. To change the location of the pentaho.log
file, you must edit log4j2.xml
in /pentaho-server/tomcat/webapps/pentaho/WEB-INF/classes/
.
Modify the location as shown in the sample below, using the appropriate path to your installation:
<RollingFile name="PENTAHOFILE" fileName="../logs/pentaho.log" filePattern="../logs/pentaho.log.%d{yyyy-MM-dd}">
For Linux:
If you are using Linux, the log4j2.xml
file is found in /pentaho-server/tomcat/webapps/pentaho/WEB-INF/classes/
.
Modify the location as shown in the sample below, using the appropriate path to your installation:
<RollingFile name="PENTAHOFILE" fileName="../logs/pentaho.log" filePattern="../logs/pentaho.log.%d{yyyy-MM-dd}">
Last updated
Was this helpful?