Unify logging

This commit is contained in:
crater2150 2023-08-20 17:20:10 +02:00
parent a1514f8bd3
commit 283d26d831
10 changed files with 16 additions and 18 deletions

5
log Executable file
View file

@ -0,0 +1,5 @@
#!/bin/zsh
SERVICE=${0:a:h:h:t}
LOGDIR=$HOME/.local/log/$SERVICE
mkdir -p $LOGDIR
exec svlogd -ttt $LOGDIR