Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Commit

Permalink
chore: better handle logs
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Bassett <[email protected]>
  • Loading branch information
cadriel committed Feb 22, 2021
1 parent 61f74f3 commit 54bd603
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
39 changes: 39 additions & 0 deletions src/modules/fluidd/filesystem/root/etc/logrotate.d/rsyslog
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/var/log/syslog
{
rotate 4
daily
maxsize 256M
missingok
notifempty
delaycompress
compress
postrotate
/usr/lib/rsyslog/rsyslog-rotate
endscript
}

/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/mail.log
/var/log/daemon.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/lpr.log
/var/log/cron.log
/var/log/debug
/var/log/messages
{
rotate 4
weekly
maxsize 256M
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
/usr/lib/rsyslog/rsyslog-rotate
endscript
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[server]
host: 0.0.0.0
port: 7125
enable_debug_logging: True
enable_debug_logging: False
config_path: ~/klipper_config
temperature_store_size: 600
gcode_store_size: 1000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{
rotate 4
weekly
maxsize 256M
missingok
notifempty
compress
Expand Down

0 comments on commit 54bd603

Please sign in to comment.