aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Log/File.php
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-19 11:10:31 +0200
committerprovokateurin <kate@provokateurin.de>2024-09-19 14:21:20 +0200
commit9836e9b16484582d309c8437ab46d82e34956941 (patch)
treed3da87bb7dfd1a8877ed25072ecf609def844089 /core/Command/Log/File.php
parent8c60ffa0f21414e6e671c567d664a9b9e5253e26 (diff)
downloadnextcloud-server-9836e9b16484582d309c8437ab46d82e34956941.tar.gz
nextcloud-server-9836e9b16484582d309c8437ab46d82e34956941.zip
chore(deps): Update nextcloud/coding-standard to v1.3.1
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'core/Command/Log/File.php')
-rw-r--r--core/Command/Log/File.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/Command/Log/File.php b/core/Command/Log/File.php
index e04d19f51cf..8b4a38db611 100644
--- a/core/Command/Log/File.php
+++ b/core/Command/Log/File.php
@@ -79,11 +79,11 @@ class File extends Command implements Completion\CompletionAwareInterface {
} else {
$enabledText = 'disabled';
}
- $output->writeln('Log backend file: '.$enabledText);
+ $output->writeln('Log backend file: ' . $enabledText);
- $dataDir = $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT.'/data');
- $defaultLogFile = rtrim($dataDir, '/').'/nextcloud.log';
- $output->writeln('Log file: '.$this->config->getSystemValue('logfile', $defaultLogFile));
+ $dataDir = $this->config->getSystemValue('datadirectory', \OC::$SERVERROOT . '/data');
+ $defaultLogFile = rtrim($dataDir, '/') . '/nextcloud.log';
+ $output->writeln('Log file: ' . $this->config->getSystemValue('logfile', $defaultLogFile));
$rotateSize = $this->config->getSystemValue('log_rotate_size', 100 * 1024 * 1024);
if ($rotateSize) {
@@ -91,7 +91,7 @@ class File extends Command implements Completion\CompletionAwareInterface {
} else {
$rotateString = 'disabled';
}
- $output->writeln('Rotate at: '.$rotateString);
+ $output->writeln('Rotate at: ' . $rotateString);
return 0;
}