Turn off Debug Mode JSS 9.52

bjbechd
New Contributor

How is it that I turn off he excessive logging in my JAMFSoftwareServer.log I know a one point we turned on "debugging mode" but I forgot how to turn it off.

2 REPLIES 2

donmontalvo
Esteemed Contributor III

JSS 8.x:

/debugOn.html <-- logging on

/debugOff.html <-- logging off

JSS 9.x:

/logging.html <-- toggle checkbox

(searched through our old JAMF Support ticket emails <g>)

HTH,
Don

--
https://donmontalvo.com

tlarkin
Honored Contributor

Hi @bjbechd][/url,

If you put it into full debug mode with SQL statements being logged, you will actually need to modify a file in the web app to turn it off. If that was the case the file will have different locations based on platform or installation method of the JSS.

The file you are looking for will be located in /path/to/webapp/ROOT/WEB-INF/classes and the file is called log4j.properties.

Toward the bottom of the file and locate the variable that looks like this:

log4j.rootLogger=DEBUG,JAMF

Change the DEBUG to INFO, so it looks like this:

log4j.rootLogger=INFO,JAMF

If you did not turn on full debugging, the method Don posted above should take care of you. You will have to restart Tomcat for the changes to take effect.

Thanks,
Tom