logging: minor tweaks
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 2 seconds

This commit is contained in:
Starbeamrainbowlabs 2022-06-20 01:53:19 +01:00
parent 8ff6950960
commit 548588e069
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 2 additions and 17 deletions

View file

@ -10,11 +10,10 @@ module(load="imklog") # provides kernel logging support
#### GLOBAL DIRECTIVES #### #### GLOBAL DIRECTIVES ####
########################### ###########################
# Where to place spool and state files
$WorkDirectory /var/spool/rsyslog
$IncludeConfig /etc/rsyslog.d/*.conf $IncludeConfig /etc/rsyslog.d/*.conf
# Where to place spool and state files
$WorkDirectory /var/spool/rsyslog
############### ###############
#### RULES #### #### RULES ####
@ -25,7 +24,6 @@ $ActionSendStreamDriverMode 1 # Require TLS
$ActionSendStreamDriverAuthMode anon $ActionSendStreamDriverAuthMode anon
*.* @@(o)logs.mooncarrot.space:514 # Forward everything to our rsyslog server *.* @@(o)logs.mooncarrot.space:514 # Forward everything to our rsyslog server
# #
# Emergencies are sent to everybody logged in. # Emergencies are sent to everybody logged in.
# #

View file

@ -1,13 +0,0 @@
#!/usr/bin/env bash
if ! command_exists logrotate; then
task_begin "Installing logrotate";
queue_apt_install logrotate;
mkdir -p /etc/logrotate.d;
touch /etc/logrotate.d/misc;
task_end "$?" "Failed to configure installation of logrotate";
fi