diff options
-rw-r--r-- | web/config.ru | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/config.ru b/web/config.ru index c399056..77fe2da 100644 --- a/web/config.ru +++ b/web/config.ru @@ -11,7 +11,9 @@ set :environment, :production today = Time.now.strftime('%Y-%m-%d') log = File.new("/osm/taginfo/var/log/taginfo-#{ today }.log", "a") log.sync = true -$stdout.reopen(log) + +# https://github.com/joto/taginfo/issues/34 +#$stdout.reopen(log) $stderr.reopen(log) $queries_log = File.new("/osm/taginfo/var/log/queries-#{ today }.log", "a") |