bootstrap: more logging
[pharext/pharext.org] / app / bootstrap / github.php
index e03cba099fd16717fe1c4b09911e2c5be263e1ae..2f1bbaade700144a7e83a6f361a1ca883833a535 100644 (file)
@@ -3,6 +3,8 @@
 namespace app;
 
 require_once __DIR__."/config.php";
+require_once __DIR__."/uri_template.php";
+require_once __DIR__."/session.php";
 
 use http\Url;
 
@@ -16,8 +18,8 @@ $injector->share(Github\API::class)
                                $config->$basic->auth->toArray(),
                                0);
                }
-               $logger = new Github\Logger($config);
-               
+               $logger = new Logger($config, $config->github->log);
+
                // FIXME: configure through app.ini
                try {
                        $cache = new Github\Storage\Redis("gh-cache");