rpi_epigen

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
rpi_epigen [2018/10/07 14:49] – [Private Cellarium ─ EPiGEN Crystal] Júne Parkrpi_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, ''edit'' ''/etc/logrotate.d/syslog.ng'' 
 +
 +<code ini> 
 +/var/log/router.log
 +{
 +        rotate 4
 +        weekly
 +        missingok
 +        notifempty
 +        compress
 +        delaycompress
 +        sharedscripts
 +        postrotate
 +                invoke-rc.d syslog-ng reload > /dev/null
 +        endscript
 +}
 +</code>
 +
  
 ----  ---- 
  • rpi_epigen
  • Last modified: 2023/06/09 09:50
  • by Júne Park