Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Pulzer <t.pulzer@kniel.de>2016-07-22 12:44:19 +0300
committerThomas Pulzer <t.pulzer@kniel.de>2016-07-22 12:44:19 +0300
commitba3f4f118e8c48a23dcffa723e38439f0b9b7df9 (patch)
tree40cf7127d4bb63f362a37185820eee50fd849ce8 /core/register_command.php
parent4b4990c48fd4c6841bde260b2b2e1bc665b46e1c (diff)
Changed logtype to file instead of owncloud.
- Updated the config sample to point to log_type='file' - Renamed the Class for logfile logging to File in namespace 'OC\Log\'. Changed the occurrences of 'OC\Log\Owncloud' to 'OC\Log\File'. - Renamed the Class for log:file command to File in namespace 'OC\Core\Command\Log\File'. Changed registration of the command to use 'OC\Core\Command\Log\File'. - Changed default Syslog tag to Nextcloud - Retained backwards compatibility for configs with 'logtype' => 'owncloud' - Adjusted tests for the new file log. Closes #490.
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/register_command.php b/core/register_command.php
index 6f20769fa70..6a220c22b3f 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -99,7 +99,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
);
$application->add(new OC\Core\Command\Log\Manage(\OC::$server->getConfig()));
- $application->add(new OC\Core\Command\Log\OwnCloud(\OC::$server->getConfig()));
+ $application->add(new OC\Core\Command\Log\File(\OC::$server->getConfig()));
$view = new \OC\Files\View();
$util = new \OC\Encryption\Util(