add logging; fix caching
[pharext/pharext.org] / config / app.ini
index ec01dbf4adcd3523da4dbaad03c48b6d6bc744bc..201de74a4ca65f5d6c5fd871bc615d17d20ece93 100644 (file)
@@ -17,6 +17,8 @@ github.storage.cache.hooks.ttl = 3600
 github.storage.cache.tags.ttl = 3600
 github.storage.cache.releases.ttl = 3600
 
+github.log = github
+
 session.use_cookies = 1
 session.use_only_cookies = 1
 session.use_strict_mode = 1
@@ -30,6 +32,11 @@ session.cache_expire = 0
 pq.flags = 0
 pq.dsn = "user=pharext host=localhost"
 
+log.github.streamhandler.handler = StreamHandler
+log.github.streamhandler.args[] = ../logs/github.log
+; Logger::DEBUG == 100
+log.github.streamhandler.args[] = 100
+
 [localhost : production]
 
 github.hook.url = https://pharext.ngrok.io/src/pharext.org.git/public/github/hook