summaryrefslogtreecommitdiff
path: root/app/ServiceProvider
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-03-05 13:34:04 -0800
committerFrédéric Guillot <fred@kanboard.net>2018-03-05 13:34:04 -0800
commit95ac11a6aad8238a8349d8bda421739307987cae (patch)
treeebd4c8ff1bfa8ea9db74a1e7c1b8ea62336d2d6b /app/ServiceProvider
parent299198f7181fccf1e9a684649d173a1ebbdfbd1e (diff)
Add system log driver and use it by default
Diffstat (limited to 'app/ServiceProvider')
-rw-r--r--app/ServiceProvider/LoggingProvider.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/ServiceProvider/LoggingProvider.php b/app/ServiceProvider/LoggingProvider.php
index eba9d0c4..2ff6ba4f 100644
--- a/app/ServiceProvider/LoggingProvider.php
+++ b/app/ServiceProvider/LoggingProvider.php
@@ -10,6 +10,7 @@ use Kanboard\Core\Log\Stderr;
use Kanboard\Core\Log\Stdout;
use Kanboard\Core\Log\Syslog;
use Kanboard\Core\Log\File;
+use Kanboard\Core\Log\System;
/**
* Class LoggingProvider
@@ -37,6 +38,9 @@ class LoggingProvider implements ServiceProviderInterface
case 'file':
$driver = new File(LOG_FILE);
break;
+ case 'system':
+ $driver = new System();
+ break;
}
if ($driver !== null) {