WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Do log files get to big  (Read 2205 times)

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Do log files get to big
« on: April 22, 2011, 09:59:17 AM »
Hi all,

I've just had a thought, do the log files that linux keeps eventually grow so large that they cause a problem ?

I am wondering how this might effect a tinycore/microcore print or file server.
Live long and prosper.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: Do log files get to big
« Reply #1 on: April 22, 2011, 11:53:12 AM »
busybox syslogd rotates the main log itself. By default it's 200kb and one old log is kept.

Other apps may or may not rotate their logs.
The only barriers that can stop you are the ones you create yourself.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Do log files get to big
« Reply #2 on: April 22, 2011, 05:47:28 PM »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: Do log files get to big
« Reply #3 on: April 27, 2011, 11:15:42 AM »
Thanks to everyones input.

logrotate seems to do the trick
Live long and prosper.