Issue #4553 has been updated by James Turnbull.

Target version changed from 1.0.5 to 1.1.0


----------------------------------------
Feature #4553: Either add documentation on rotating logs or make it default
https://projects.puppetlabs.com/issues/4553

Author: Matt Robinson
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 1.1.0
Keywords: roadmapped
Branch: 
Affected URL: 
Affected Dashboard version: 


On Mon, Aug 16, 2010 at 3:32 PM, Steven L. Seed <[email protected]> wrote:
> I found the root cause of my problem. After running of about 1 month using
> the development environment my log file grew to over 24GB. I had no idea
> this log file was even there since it's in a less than standard location
> (/opt/puppet-dashboard/log/development.log). I switched to using the
> production environment and that initially helped along with purging about
> 3GB of my report data from the database, but ultimately, the very large log
> file was impacting things as well.

At the least we should add something to the README about rotating logs using 
logrotate or 'rake log:clear'.  I've also seen that you can configure rails to 
something similar with 
config.logger = Logger.new("#{RAILS_ROOT}/log/#{RAILS_ENV}.log", 50, 
1.megabyte), so maybe we want to make something like that a default?


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to