summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-08-17 23:06:42 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-08-19 12:33:23 +0100
commit67536e71aa92ee9c71592b5e3b48831e7c20a71a (patch)
treed158de872dd9f4825956d3167286cea19962afd4 /core/register_command.php
parent47e05c97a2302804fa8f0a28d3198ba686c2e656 (diff)
downloadnextcloud-server-67536e71aa92ee9c71592b5e3b48831e7c20a71a.tar.gz
nextcloud-server-67536e71aa92ee9c71592b5e3b48831e7c20a71a.zip
Introduce occ command for logging management
log:manage can set/display the log backend, log level and log timezone
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php
index 6cd81b4c3b7..b05d0f3aebb 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -58,6 +58,8 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\Encryption\SetDefaultModule(\OC::$server->getEncryptionManager()));
$application->add(new OC\Core\Command\Encryption\Status(\OC::$server->getEncryptionManager()));
+ $application->add(new OC\Core\Command\Log\Manage(\OC::$server->getConfig()));
+
$application->add(new OC\Core\Command\Maintenance\MimeTypesJS());
$application->add(new OC\Core\Command\Maintenance\Mode(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Maintenance\Repair(new \OC\Repair(\OC\Repair::getRepairSteps()), \OC::$server->getConfig()));