init_logs.sh 303 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
#!/bin/bash

# Init log locations to make sure they are caught by the logs_rotation service on startup
# And there is no issue in gitlab ci
mkdir -p /var/log/django
touch /var/log/django/error.log

# Frontend errors are logged through django
mkdir -p /var/log/frontend
touch /var/log/frontend/error.log