Skip to content

Commit

Permalink
feat: dev-debug.log moved to /data/log if running in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Oct 28, 2023
1 parent 35a535b commit 32c7ffd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion linuxgsm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@

# Debugging
if [ -f ".dev-debug" ]; then
exec 5> dev-debug.log
if [ -f /.dockerenv ]; then
exec 5> /data/log/dev-debug.log
else
exec 5> dev-debug.log
fi
BASH_XTRACEFD="5"
set -x
fi
Expand Down

0 comments on commit 32c7ffd

Please sign in to comment.