summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2018-06-30 00:57:30 +0200
committerGitHub <noreply@github.com>2018-06-30 00:57:30 +0200
commit2f8ebe2b35fd487495a5e2e7a3bea30f54b094d3 (patch)
tree775cd8ea802a2f8cd7c3597e71f5fc3ad0154d10 /core
parent0f46ba43b3c5c031a08792003173b94a090a96a0 (diff)
parent83339ae10cf4bbcbbdd6ea970f3f4c7b59ce555f (diff)
downloadnextcloud-server-2f8ebe2b35fd487495a5e2e7a3bea30f54b094d3.tar.gz
nextcloud-server-2f8ebe2b35fd487495a5e2e7a3bea30f54b094d3.zip
Merge pull request #10048 from nextcloud/feature/9760/systemd-logger
Systemd Logger
Diffstat (limited to 'core')
-rw-r--r--core/Command/Log/Manage.php5
1 files changed, 3 insertions, 2 deletions
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 <robin@mccorkell.me.uk>
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Thomas Pulzer <t.pulzer@kniel.de>
+ * @author Johannes Ernst <jernst@indiecomputing.com>
*
* @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') {