diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2016-11-09 14:46:11 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-01-06 09:42:13 +0100 |
commit | 12717bfd72d715cd6b2c96ffc4bb247229ee6432 (patch) | |
tree | f6011f77f865535326248596b5c89f2aedd16f64 | |
parent | 1caaa7f4cd05e45a02ead069adf8625d7b192dcc (diff) | |
download | nextcloud-server-12717bfd72d715cd6b2c96ffc4bb247229ee6432.tar.gz nextcloud-server-12717bfd72d715cd6b2c96ffc4bb247229ee6432.zip |
log app name fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rwxr-xr-x | lib/private/Template/ResourceLocator.php | 2 | ||||
-rwxr-xr-x | lib/private/Template/SCSSCacher.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/Template/ResourceLocator.php b/lib/private/Template/ResourceLocator.php index 21a4ce927e1..bb4cfa94f6c 100755 --- a/lib/private/Template/ResourceLocator.php +++ b/lib/private/Template/ResourceLocator.php @@ -127,7 +127,7 @@ abstract class ResourceLocator { $this->append($root, $scssCache->getCachedSCSS(), $webRoot, false); return true; } else { - $this->logger->error('Failed to compile and/or save '.$root.'/'.$file, ['app' => 'SCSSPHP']); + $this->logger->error('Failed to compile and/or save '.$root.'/'.$file, ['app' => 'server']); return false; } } diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php index def9ecd276e..c9a7045d592 100755 --- a/lib/private/Template/SCSSCacher.php +++ b/lib/private/Template/SCSSCacher.php @@ -128,13 +128,13 @@ class SCSSCacher { try { $compiledScss = $scss->compile('@import "'.$this->fileNameSCSS.'";'); } catch(ParserException $e) { - $this->logger->error($e, ['app' => 'SCSSPHP']); + $this->logger->error($e, ['app' => 'server']); return false; } try { $cachedfile->putContent($this->rebaseUrls($compiledScss)); - $this->logger->debug($this->rootCssLoc.'/'.$this->fileNameSCSS.' compiled and successfully cached', ['app' => 'SCSSPHP']); + $this->logger->debug($this->rootCssLoc.'/'.$this->fileNameSCSS.' compiled and successfully cached', ['app' => 'server']); return true; } catch(NotFoundException $e) { return false; |