Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

log rotating new to 5?

Featured Replies

Did 5 implement rotating of logs? I'm having a hard time searching for this.  My logs never rotated on 4.7, but did last night for 5b12a.

Or is it part of a plugin I have loaded (SimpleFeatures)?

  • Author

Guess I should have added my question: is there a way to disable it?

Yes and No

 

When it gets to a certain size the log will rotate, it did this on 4.7 also if I remember correctly.

  • Author

Mine didn't - or perhaps the default setting in 4.7 was much larger, as now it appears to be set at 1M.

Where can I change this so that the new setting survives reboots?

Mine didn't - or perhaps the default setting in 4.7 was much larger, as now it appears to be set at 1M.

Where can I change this so that the new setting survives reboots?

 

It's always been configured. Back in 4.6 or 4.5 it was fixed. before that it was actually there, but broke.

 

What I do is make a /boot/local/etc folder then rsync it to the /etc upon bootup.

look at /etc/logrotate.conf and  /etc/logrotate.d/syslog

The file you want to adjust is  /etc/logrotate.d/syslog

You can adjust the size or the age to keep the file before rotating.

 

root@atlas ~ #more /etc/logrotate.d/syslog

/var/log/syslog {

    size 1M

    sharedscripts

    postrotate

        /bin/kill -HUP `cat /var/run/syslogd.pid 2>/dev/null` 2>/dev/null || true

    endscript

}

 

 

  • Author

great, thanks.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.