aboutsummaryrefslogtreecommitdiff
path: root/lib/bootstrap.php
diff options
context:
space:
mode:
authorMarcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>2022-10-26 10:12:32 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2022-10-26 10:12:32 +0000
commitc16626dfcac357e339f48113eb646847af7dd6a9 (patch)
tree493c4ea0db09d905926fc0a2d0fa338c772e3a88 /lib/bootstrap.php
parentb8256a4732c53ca504bb8c17adcb47cfa799d81e (diff)
Use Monolog as PSR-11 compatible logger, refs #1686.
Merge request studip/studip!1117
Diffstat (limited to 'lib/bootstrap.php')
-rw-r--r--lib/bootstrap.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/bootstrap.php b/lib/bootstrap.php
index 94fec26..f387a6e 100644
--- a/lib/bootstrap.php
+++ b/lib/bootstrap.php
@@ -105,14 +105,6 @@ require_once 'lib/functions.php';
require_once 'lib/language.inc.php';
require_once 'lib/visual.inc.php';
-//setup default logger
-Log::get()->setHandler($GLOBALS['TMP_PATH'] . '/studip.log');
-if (Studip\ENV == 'development') {
- Log::get()->setLogLevel(Log::DEBUG);
-} else {
- Log::get()->setLogLevel(Log::ERROR);
-}
-
// set assets url
Assets::set_assets_url($GLOBALS['ASSETS_URL']);