Log Settings
From OpenCms Wiki
(Difference between revisions)
m |
|||
Line 1: | Line 1: | ||
Select Administration View > Workplace Tools> Log File > Logfile Viewer Settings | Select Administration View > Workplace Tools> Log File > Logfile Viewer Settings | ||
+ | |||
+ | ==Settings in opencms-workplace.xml== | ||
+ | |||
+ | All settings of the workplace administration may also be changed in the configuration file opencms-workplace.xml | ||
+ | |||
+ | |||
+ | <source lang="xml"> | ||
+ | <rfsfileviewsettings> | ||
+ | <rootPath>/usr/local/tomcat5/webapps/ROOT/WEB-INF/</rootPath> | ||
+ | <filePath>C:\tomcat6\webapps\opencms\WEB-INF\config\opencms-modules.xml</filePath> | ||
+ | <enabled>true</enabled> | ||
+ | <fileEncoding>windows-1252</fileEncoding> | ||
+ | <isLogfile>true</isLogfile> | ||
+ | <windowSize>200</windowSize> | ||
+ | </rfsfileviewsettings> | ||
+ | </source> | ||
+ | |||
+ | Especially the value | ||
+ | <source lang="xml"><rootPath>value</rootPath></source> may not be configured in the workplace. It is needed if you want to be able to view different files than only opencms.log (e.g. the configuration files). With the path you allow the log file viewer to access all files below it. |
Latest revision as of 13:26, 8 September 2009
Select Administration View > Workplace Tools> Log File > Logfile Viewer Settings
Settings in opencms-workplace.xml
All settings of the workplace administration may also be changed in the configuration file opencms-workplace.xml
<rfsfileviewsettings> <rootPath>/usr/local/tomcat5/webapps/ROOT/WEB-INF/</rootPath> <filePath>C:\tomcat6\webapps\opencms\WEB-INF\config\opencms-modules.xml</filePath> <enabled>true</enabled> <fileEncoding>windows-1252</fileEncoding> <isLogfile>true</isLogfile> <windowSize>200</windowSize> </rfsfileviewsettings>
Especially the value
<rootPath>value</rootPath>