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.

Syslog is growing, whant to remove some logs.....

Featured Replies

Hi!

Can some one give me some ides how to remove some logs that's is written to my syslog? its logs from spin_disks.

 

Mar 17 17:08:30 Tower spin_disks: disk 1 = 11 minutes, 28 seconds since last I/O
Mar 17 17:08:30 Tower spin_disks: disk 2 = 11 minutes, 28 seconds since last I/O
Mar 17 17:08:30 Tower spin_disks: disk 3 = 11 minutes, 28 seconds since last I/O
Mar 17 17:08:30 Tower spin_disks: disk 4 = 36 seconds since last I/O
Mar 17 17:08:30 Tower spin_disks: disk 5 = 11 minutes, 28 seconds since last I/O
Mar 17 17:08:30 Tower spin_disks: disk 6 = 11 minutes, 28 seconds since last I/O
Mar 17 17:08:30 Tower spin_disks: disk 7 = 5 seconds since last I/O
Mar 17 17:08:32 Tower spin_disks: disk(s) 1 2 3 4 5 6 7 currently spinning
Mar 17 17:08:32 Tower spin_disks: =================================================================
Mar 17 17:08:32 Tower spin_disks:
Mar 17 17:09:03 Tower spin_disks: =================================================================
Mar 17 17:09:03 Tower spin_disks: Wed Mar 17 17:09:03 CET 2010
Mar 17 17:09:03 Tower spin_disks: Spin up disks 1 2 3 4 5 6 7 on shares for files/directories:
Mar 17 17:09:03 Tower spin_disks: COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME

 

Thanks

 

//Peter

 

 

 

Hi!

Can some one give me some ides how to remove some logs that's is written to my syslog? its logs from spin_disks.

 

Mar 17 17:08:30 Tower spin_disks: disk 1 = 11 minutes, 28 seconds since last I/O
Mar 17 17:08:30 Tower spin_disks: disk 2 = 11 minutes, 28 seconds since last I/O
Mar 17 17:08:30 Tower spin_disks: disk 3 = 11 minutes, 28 seconds since last I/O
Mar 17 17:08:30 Tower spin_disks: disk 4 = 36 seconds since last I/O
Mar 17 17:08:30 Tower spin_disks: disk 5 = 11 minutes, 28 seconds since last I/O
Mar 17 17:08:30 Tower spin_disks: disk 6 = 11 minutes, 28 seconds since last I/O
Mar 17 17:08:30 Tower spin_disks: disk 7 = 5 seconds since last I/O
Mar 17 17:08:32 Tower spin_disks: disk(s) 1 2 3 4 5 6 7 currently spinning
Mar 17 17:08:32 Tower spin_disks: =================================================================
Mar 17 17:08:32 Tower spin_disks:
Mar 17 17:09:03 Tower spin_disks: =================================================================
Mar 17 17:09:03 Tower spin_disks: Wed Mar 17 17:09:03 CET 2010
Mar 17 17:09:03 Tower spin_disks: Spin up disks 1 2 3 4 5 6 7 on shares for files/directories:
Mar 17 17:09:03 Tower spin_disks: COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME

 

Thanks

 

//Peter

 

 

 

It will automatically be "rotated" to syslog.1 in the middle of the night if it grows over 1 Meg in size.  You need not worry.

 

If you wish, you can force a log rotation now.

logrotate --force /etc/logrotate.conf

Ignore the warnings about wtmp and utmp. UnRAID does not use them.

 

 

It will automatically be "rotated" to syslog.1 in the middle of the night if it grows over 1 Meg in size.  You need not worry.

That syslog.1 will still reside in the ramfs, right?

 

Yes, but logrotate as configured only keeps 2, so unless something is very odd, he'll not run out of memory.
  • Author

Thanks, but I want to try to minimize all writing to my USB memory. And this logs are written very often.

 

//Peter

Thanks, but I want to try to minimize all writing to my USB memory. And this logs are written very often.

 

//Peter

I'm confused... Did you change it to write to the flash drive?  Fine for investigation of a specific issue, but very bad idea for long term.

 

The syslog is normally written to a file-system in RAM, there is no issue with it being written to as many times as you like.

 

Joe L.

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.