Discussion:
Reduce logging verbosity in Z2.log?
taupehat
2011-11-11 22:48:37 UTC
Permalink
taupehat [http://community.zenoss.org/people/taupehat] created the discussion

"Reduce logging verbosity in Z2.log?"

To view the discussion, visit: http://community.zenoss.org/message/62589#62589

--------------------------------------------------------------
Running RHEL5.5 and Zenoss 3.2.1, the Z2.log file grows at a rate of roughly 50MB/hour which seems pretty insane considering there are only three to five people viewing the console at any given time.  Typical entries are large GETs looking more or less like this (line breaks and slight anonymization added by hand):

1.2.3.4 - Anonymous [11/Nov/2011:14:43:16 -0700] "GET /zport/RenderServer/render?width=600&gopts=\
{really long string of random-looking chars}==&drange=129600&start=end-129600s&end=now-0s&comment=\
2011-10-27 15\:42\:44\t\t to \t\t2011-11-11 14\:42\:44&getImage=&graphid=1321051364478_graph_15 HTTP/1.1" \
200 24343 "http://nmsa:8080/zport/dmd/Devices/Server/Linux/devices/{some hostname}/viewDevicePerformance?submitted=true\
" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110928 CentOS/3.6-2.el5.centos Firefox/3.6.23"


How can I reduce the loglevel to something like "error" instead of what certainly looks more like "info" (or even "debug") currently?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62589#62589]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2011-11-12 17:51:53 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Reduce logging verbosity in Z2.log?"

To view the discussion, visit: http://community.zenoss.org/message/62600#62600

--------------------------------------------------------------
The logging level is set in $ZENHOME/etc/zope.conf. Or you can edit via the UI using the deamon screen (the daemon in question would be zopectl
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62600#62600]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
taupehat
2011-11-14 17:18:21 UTC
Permalink
taupehat [http://community.zenoss.org/people/taupehat] created the discussion

"Re: Reduce logging verbosity in Z2.log?"

To view the discussion, visit: http://community.zenoss.org/message/62613#62613

--------------------------------------------------------------
That was exactly where to look.  It was logging to INFO by default.  I have to ask somewhat rhetorically, why would such a verbose logging level be set as default?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62613#62613]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...