WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Do log files get to big
« on: April 22, 2011, 06: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: 10965
Re: Do log files get to big
« Reply #1 on: April 22, 2011, 08: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, 02: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, 08:15:42 AM »
Thanks to everyones input.

logrotate seems to do the trick
Live long and prosper.