From: John Molakvoæ (skjnldsv) Date: Wed, 9 Nov 2016 13:46:11 +0000 (+0100) Subject: log app name fix X-Git-Tag: v12.0.0beta1~732^2~38 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=12717bfd72d715cd6b2c96ffc4bb247229ee6432;p=nextcloud-server.git log app name fix Signed-off-by: John Molakvoæ (skjnldsv) --- 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;