From a81b51facd1c077041dd39952d0bfc910a0b2ec2 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Tue, 9 Jun 2020 19:55:47 -0400 Subject: [PATCH] bin: Enable debug logging in prod We get such low traffic, I like to see how often people (or bots) are hitting our main pages, not just when tables are created, etc. --- bin/restart.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/restart.sh b/bin/restart.sh index 30d8d60..abf86cc 100755 --- a/bin/restart.sh +++ b/bin/restart.sh @@ -35,6 +35,8 @@ restart() { else export MOJO_MODE=production fi + # Always log in debug, regardless of prod vs preprod + export MOJO_LOG_LEVEL=debug printf "%s" "Starting new server... " $HOME/${name}-el/gloat.pl daemon -l http://*:$port >> /var/log/gloat/$name.log 2>&1 & -- libgit2 1.1.1