From 0a65e62f29664730ac1aabcb612301be329ceed2 Mon Sep 17 00:00:00 2001 From: Johannes Ernst Date: Wed, 6 Jun 2018 20:40:06 +0000 Subject: Added a logger for systemd/journald Added a unit test Signed-off-by: Johannes Ernst --- core/Command/Log/Manage.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'core/Command/Log') diff --git a/core/Command/Log/Manage.php b/core/Command/Log/Manage.php index 267e84c140f..5a1dd3d048b 100644 --- a/core/Command/Log/Manage.php +++ b/core/Command/Log/Manage.php @@ -6,6 +6,7 @@ * @author Robin McCorkell * @author Roeland Jago Douma * @author Thomas Pulzer + * @author Johannes Ernst * * @license AGPL-3.0 * @@ -55,7 +56,7 @@ class Manage extends Command implements CompletionAwareInterface { 'backend', null, InputOption::VALUE_REQUIRED, - 'set the logging backend [file, syslog, errorlog]' + 'set the logging backend [file, syslog, errorlog, systemd]' ) ->addOption( 'level', @@ -181,7 +182,7 @@ class Manage extends Command implements CompletionAwareInterface { */ public function completeOptionValues($optionName, CompletionContext $context) { if ($optionName === 'backend') { - return ['file', 'syslog', 'errorlog']; + return ['file', 'syslog', 'errorlog', 'systemd']; } else if ($optionName === 'level') { return ['debug', 'info', 'warning', 'error']; } else if ($optionName === 'timezone') { -- cgit v1.2.3