Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
rpi_epigen [2018/10/07 14:49] – [Private Cellarium ─ EPiGEN Crystal] Júne Park | rpi_epigen [2018/12/17 12:15] – [Configure System log (syslog) Server] Júne Park | ||
---|---|---|---|
Line 80: | Line 80: | ||
For sensitive reason, you would better to **stop & start** service instead of restart. \\ | For sensitive reason, you would better to **stop & start** service instead of restart. \\ | ||
Check size of log file is getting bigger and contents of log file. | Check size of log file is getting bigger and contents of log file. | ||
+ | |||
+ | For archiving and compressing log files, '' | ||
+ | |||
+ | <code ini> | ||
+ | / | ||
+ | { | ||
+ | rotate 4 | ||
+ | weekly | ||
+ | missingok | ||
+ | notifempty | ||
+ | compress | ||
+ | delaycompress | ||
+ | sharedscripts | ||
+ | postrotate | ||
+ | invoke-rc.d syslog-ng reload > /dev/null | ||
+ | endscript | ||
+ | } | ||
+ | </ | ||
+ | |||
---- | ---- |