[Bug 453456] Re: excessive logs in /var/log/eucalyptus
Log rotation appears to work as expected, though I didn't run it over that many days: $ ls -s /var/log/eucalyptus/ total 45200 7996 axis2c.log 5824 cc.log 4 cc-registration.log 8036 cloud-debug.log 10248 cloud-debug.log.1 10248 cloud-debug.log.2 284 cloud-error.log 2480 cloud-output.log 12 httpd-cc_error_log 4 jetty-request-2009_10_21.log 4 jetty-request-2009_10_22.log 4 sc-registration.log 4 sc-stats.log 4 walrus-registration.log 48 walrus-stats.log Closing as invalid, opening a separate bug for the issue mentioned in comment 3. ** Changed in: eucalyptus (Ubuntu Karmic) Status: Triaged => Invalid -- excessive logs in /var/log/eucalyptus https://bugs.launchpad.net/bugs/453456 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to eucalyptus in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 453456] Re: excessive logs in /var/log/eucalyptus
the java (cloud, walrus, sc) components' logging uses log4j. the defaults can be found in source under: clc/modules/core/src/main/resources/log4j.xml where you'll find the following, which control the file size and the max number of files of this size that can exist for the C components (cc, nc), the logfiles are controlled inside the logprintfl() function, where you'll find logic for handling the roll- over. by default, there can be six files (ex: cc.log, cc.log{0-5}), each of which at most 32MB. the axis2c.log is rolled once by axis2c itself (axis2c.log and axis2c.log.old), and its size can be set through httpd.conf (128MB by default) Axis2MaxLogFileSize 128 the httpd-{cc,nc}-error_log (set in httpd.conf, again) is not rolled, but tends to grow very slowly. finally, i'm not sure where the jetty log rolling policy is set, but will find out and comment here. -- excessive logs in /var/log/eucalyptus https://bugs.launchpad.net/bugs/453456 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to eucalyptus in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 453456] Re: excessive logs in /var/log/eucalyptus
Can someone provide a pointer to the relevant code in Eucalyptus which does the log rotation? We need to confirm if this works as expected. -- excessive logs in /var/log/eucalyptus https://bugs.launchpad.net/bugs/453456 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to eucalyptus in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 453456] Re: excessive logs in /var/log/eucalyptus
Setting LOGLEVEL="ERROR" in /etc/eucalyptus/eucalyptus.conf doesn't seem to change the verbosity of cloud-output.log or cloud-error.log... ** Tags added: eucalyptus -- excessive logs in /var/log/eucalyptus https://bugs.launchpad.net/bugs/453456 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to eucalyptus in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 453456] Re: excessive logs in /var/log/eucalyptus
Dan Nurmi says that Eucalyptus rotates its own logs, so they won't grow indefinitely. I filed this bug because I saw my logs getting huge, but no jobs in /etc/logrotate.d. In this case, the rotation aspect of this bug is already solved. But the log verbosity should be tuned to something reasonable for users, rather than developers. :-Dustin -- excessive logs in /var/log/eucalyptus https://bugs.launchpad.net/bugs/453456 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to eucalyptus in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 453456] Re: excessive logs in /var/log/eucalyptus
** Also affects: eucalyptus (Ubuntu Karmic) Importance: Low Status: Triaged -- excessive logs in /var/log/eucalyptus https://bugs.launchpad.net/bugs/453456 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to eucalyptus in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 453456] Re: excessive logs in /var/log/eucalyptus
** Changed in: eucalyptus (Ubuntu) Status: New => Triaged -- excessive logs in /var/log/eucalyptus https://bugs.launchpad.net/bugs/453456 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to eucalyptus in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 453456] Re: excessive logs in /var/log/eucalyptus
It also needs saner default logging levels. Everything is at "Debug" level by default and there is a fair amount of redundancy between cloud- output.log and cloud-debug.log. In inactive periods, lines are being added to cc.log, nc.log and cloud-output.log every 8 seconds or so. While this is perfectly acceptable in debug mode, that seems very noisy in production mode. -- excessive logs in /var/log/eucalyptus https://bugs.launchpad.net/bugs/453456 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to eucalyptus in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 453456] Re: excessive logs in /var/log/eucalyptus
** Changed in: eucalyptus (Ubuntu) Importance: Undecided => Low -- excessive logs in /var/log/eucalyptus https://bugs.launchpad.net/bugs/453456 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to eucalyptus in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs