log app name fix

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2016-11-09 14:46:11 +01:00 committed by Roeland Jago Douma
parent 1caaa7f4cd
commit 12717bfd72
No known key found for this signature in database
GPG Key ID: F941078878347C0C
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}
}

View File

@ -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;