logs - move everything from /var/log to /var/log/nginx

This commit is contained in:
bunkerity
2021-07-07 14:36:00 +02:00
parent d03a1a6e3b
commit e241b0c939
5 changed files with 24 additions and 22 deletions

View File

@@ -36,5 +36,5 @@ function has_value() {
function job_log() {
when="$(date '+[%Y-%m-%d %H:%M:%S]')"
what="$1"
echo "$when $what" >> /var/log/jobs.log
echo "$when $what" >> /var/log/nginx/jobs.log
}