How to set system log max length?

23 views
Skip to first unread message

David Aldrich

unread,
Jan 2, 2015, 5:29:27 AM1/2/15
to jenkins...@googlegroups.com

Hi

 

We use the default system log settings in Jenkins 1.595.  I notice that the length of the log is limited to 24 hours.  How can I increase that time?

 

Best regards

 

David

 

Mark Waite

unread,
Jan 2, 2015, 7:09:15 AM1/2/15
to jenkins...@googlegroups.com
This doesn't give the nice GUI presentation and custom log recording available from the "Manage Jenkins" / "System log" interface, but the Debian install package by default writes its logs to /var/log/jenkins/.

The log files in that directory age for a week before they are "rolled over" to a new log.

They are retained as compressed files in that directory for at least 3 months.

As far as I can tell, since you're using the default system log settings, those log files would retain the log information you're seeking.

Mark Waite


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/41302A7145AC054FA7A96CFD03835A0A0B90ECC1%40EX10MBX02.EU.NEC.COM.
For more options, visit https://groups.google.com/d/optout.



--
Thanks!
Mark Waite

David Aldrich

unread,
Jan 2, 2015, 7:14:07 AM1/2/15
to jenkins...@googlegroups.com

Hi Mark

 

That’s very helpful. Thank you.

 

Best regards

 

David

 


For more options, visit https://groups.google.com/d/optout.

Click here to report this email as spam.

Lars Nielsen

unread,
Jan 4, 2015, 11:02:22 AM1/4/15
to jenkins...@googlegroups.com
Hi,
Those files should be managed by your Logrotate configuration. You can find the configuration in /etc/logrotate.conf

Regards
Lars
Reply all
Reply to author
Forward
0 new messages