aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Log
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-01-20 11:45:08 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-01-20 11:45:08 +0100
commitf5c361cf44739058b79f322576a1bad2d8c142d9 (patch)
treea22217c6995751023112832d191d213e494e2fbc /lib/private/Log
parent37bb33c5799b834dfef3fb73936bd0e5a4773fb8 (diff)
downloadnextcloud-server-f5c361cf44739058b79f322576a1bad2d8c142d9.tar.gz
nextcloud-server-f5c361cf44739058b79f322576a1bad2d8c142d9.zip
composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Log')
-rw-r--r--lib/private/Log/Errorlog.php1
-rw-r--r--lib/private/Log/LogDetails.php1
-rw-r--r--lib/private/Log/LogFactory.php2
-rw-r--r--lib/private/Log/PsrLoggerAdapter.php1
-rw-r--r--lib/private/Log/Systemdlog.php4
5 files changed, 3 insertions, 6 deletions
diff --git a/lib/private/Log/Errorlog.php b/lib/private/Log/Errorlog.php
index 5c00528210a..72d11aa098c 100644
--- a/lib/private/Log/Errorlog.php
+++ b/lib/private/Log/Errorlog.php
@@ -32,7 +32,6 @@ use OC\SystemConfig;
use OCP\Log\IWriter;
class Errorlog extends LogDetails implements IWriter {
-
/** @var string */
protected $tag;
diff --git a/lib/private/Log/LogDetails.php b/lib/private/Log/LogDetails.php
index b3544572708..c82904d7cea 100644
--- a/lib/private/Log/LogDetails.php
+++ b/lib/private/Log/LogDetails.php
@@ -28,7 +28,6 @@ namespace OC\Log;
use OC\SystemConfig;
abstract class LogDetails {
-
/** @var SystemConfig */
private $config;
diff --git a/lib/private/Log/LogFactory.php b/lib/private/Log/LogFactory.php
index 2fdadc3bdb2..a5008f5ef77 100644
--- a/lib/private/Log/LogFactory.php
+++ b/lib/private/Log/LogFactory.php
@@ -57,7 +57,7 @@ class LogFactory implements ILogFactory {
case 'file':
return $this->buildLogFile();
- // Backwards compatibility for old and fallback for unknown log types
+ // Backwards compatibility for old and fallback for unknown log types
case 'owncloud':
case 'nextcloud':
default:
diff --git a/lib/private/Log/PsrLoggerAdapter.php b/lib/private/Log/PsrLoggerAdapter.php
index 1cf81c49a69..80c4c187b13 100644
--- a/lib/private/Log/PsrLoggerAdapter.php
+++ b/lib/private/Log/PsrLoggerAdapter.php
@@ -35,7 +35,6 @@ use function array_key_exists;
use function array_merge;
final class PsrLoggerAdapter implements LoggerInterface, IDataLogger {
-
/** @var Log */
private $logger;
diff --git a/lib/private/Log/Systemdlog.php b/lib/private/Log/Systemdlog.php
index 20a60623713..8619cb5e4dd 100644
--- a/lib/private/Log/Systemdlog.php
+++ b/lib/private/Log/Systemdlog.php
@@ -78,7 +78,7 @@ class Systemdlog extends LogDetails implements IWriter {
public function write(string $app, $message, int $level) {
$journal_level = $this->levels[$level];
sd_journal_send('PRIORITY='.$journal_level,
- 'SYSLOG_IDENTIFIER='.$this->syslogId,
- 'MESSAGE=' . $this->logDetailsAsJSON($app, $message, $level));
+ 'SYSLOG_IDENTIFIER='.$this->syslogId,
+ 'MESSAGE=' . $this->logDetailsAsJSON($app, $message, $level));
}
}