Zulu 2/Logging Properties

From 360Works Product Documentation Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "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 th...")
 
Line 1: Line 1:
 
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.
 
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====
+
===Step 1===
 
Navigate to the following directory for your respective systems and open up <code>logging.properties</code> in your text editor of choice.
 
Navigate to the following directory for your respective systems and open up <code>logging.properties</code> in your text editor of choice.
  
=====Windows=====
+
====Windows====
 
<code>C:\Program Files\360Works\Application\webapps\'''<big>zulu</big>'''\WEB-INF\classes\</code>
 
<code>C:\Program Files\360Works\Application\webapps\'''<big>zulu</big>'''\WEB-INF\classes\</code>
  
=====Mac=====
+
====Mac====
 
<code>Library/360Works/Application/webapps/'''<big>zulu</big>'''/WEB-INF/classes/</code>
 
<code>Library/360Works/Application/webapps/'''<big>zulu</big>'''/WEB-INF/classes/</code>
  
=====Other=====
+
====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.
 
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''=====
+
====''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.
 
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====
+
===Step 2===
  
 
With <code>logging.properties</code> open, do a search for the <code>1catalina.org.apache.juli.FileHandler.level</code> property. You want to change the text after the property to the level you want to log. By default it is <code>INFO</code>, please revert your logging level to <code>INFO</code> if you require support.
 
With <code>logging.properties</code> open, do a search for the <code>1catalina.org.apache.juli.FileHandler.level</code> property. You want to change the text after the property to the level you want to log. By default it is <code>INFO</code>, please revert your logging level to <code>INFO</code> if you require support.
  
=====Primary Logging Levels=====
+
====Primary Logging Levels====
  
 
* <code>INFO</code>
 
* <code>INFO</code>
Line 31: Line 31:
 
To change the logging level, simply change the last word to match the max level you want to log.
 
To change the logging level, simply change the last word to match the max level you want to log.
  
======Example======
+
=====Example=====
 
<code>1catalina.org.apache.juli.FileHandler.level = ERROR</code>
 
<code>1catalina.org.apache.juli.FileHandler.level = ERROR</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.
  
====Step 3====
+
===Step 3===
  
 
Restart Zulu in the '''360Works Admin Tool''' to begin logging at the level you've set.
 
Restart Zulu in the '''360Works Admin Tool''' to begin logging at the level you've set.

Revision as of 17:18, 30 November 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.

Contents

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

  • INFO
  • WARNING
  • ERROR
  • 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 = ERROR

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.

Personal tools
Namespaces

Variants
Actions
Plug-in Products
Other Products
Navigation
Toolbox