aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-08-05 10:18:24 +0200
committerJochen Topf <jochen@topf.org>2013-08-05 10:18:24 +0200
commit8b05155d4d43bfba4452093f71e4bdc0c3e7b083 (patch)
tree61bc390e49153983fec30c9bd709d2e26c14f19b
parenta80c9781ed17c9dcdb988e50112c8a11438f558a (diff)
downloadtaginfo-8b05155d4d43bfba4452093f71e4bdc0c3e7b083.tar
taginfo-8b05155d4d43bfba4452093f71e4bdc0c3e7b083.tar.gz
Fix for issue #34
-rw-r--r--web/config.ru4
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")