]> source.dussan.org Git - nextcloud-server.git/commitdiff
log app name fix
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Wed, 9 Nov 2016 13:46:11 +0000 (14:46 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Fri, 6 Jan 2017 08:42:13 +0000 (09:42 +0100)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
lib/private/Template/ResourceLocator.php
lib/private/Template/SCSSCacher.php

index 21a4ce927e10298dddbe34419f717a3aacb2e825..bb4cfa94f6cc0a10f9cd9935b334133ec93e9004 100755 (executable)
@@ -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;
                        }
                }
index def9ecd276e1c468bc0179997d335fdf1d0ed533..c9a7045d5929956f0cbf4f0beaa7d7c65d02bf85 100755 (executable)
@@ -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;