Difference between revisions of "Zulu 2/Logging Properties"

From 360Works Product Documentation Wiki
Jump to navigation Jump to search
Line 36: Line 36:
  
 
=====Example=====
 
=====Example=====
<code>1catalina.org.apache.juli.FileHandler.level = ERROR</code>
+
<code>1catalina.org.apache.juli.FileHandler.level = SEVERE</code>
  
 
Once you've set it to the level you'd like, go ahead and save the file.
 
Once you've set it to the level you'd like, go ahead and save the file.

Revision as of 19:42, 8 December 2015

If you're running into large log files or just want to limit the size of your log files in general, you may edit the logging properties in Zulu.

Step 1

Navigate to the following directory for your respective systems and open up logging.properties in your text editor of choice.

Windows

C:\Program Files\360Works\Application\webapps\zulu\WEB-INF\classes\

Mac

Library/360Works/Application/webapps/zulu/WEB-INF/classes/

Other

If you cannot find either directory, you may have a custom installation of Zulu. Please contact the system administrator who installed Zulu for assistance finding this installation location.

Important

If you did a hosting provider installation of zulu, the "zulu" in the filepath (the bold large text) will instead be the name you gave to your hosting provider installation.

Step 2

With logging.properties open, do a search for the 1catalina.org.apache.juli.FileHandler.level property. You want to change the text after the property to the level you want to log. By default it is INFO, please revert your logging level to INFO if you require support.

Primary Logging Levels

  • FINEST
  • FINER
  • FINE
  • CONFIG
  • INFO
  • WARNING
  • SEVERE

To change the logging level, simply change the last word to match the max level you want to log.

Example

1catalina.org.apache.juli.FileHandler.level = SEVERE

Once you've set it to the level you'd like, go ahead and save the file.

Step 3

Restart Zulu in the 360Works Admin Tool to begin logging at the level you've set.

Reasons to change logging level

For a single-instance of Zulu changing the level will likely be unnecessary, but for multiple instances (which you will need to change the logging properties for each instance) your log file can build up, fast. Changing the log level can save disk space on your system, especially if you have Zulu refreshing at a short interval.