Lower log levels of resource locator
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
1952560ac7
commit
3d8a300b77
2 changed files with 4 additions and 4 deletions
|
@ -91,11 +91,11 @@ class CSSResourceLocator extends ResourceLocator {
|
||||||
$this->append($root, $this->scssCacher->getCachedSCSS($app, $file), false);
|
$this->append($root, $this->scssCacher->getCachedSCSS($app, $file), false);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
$this->logger->error('Failed to compile and/or save '.$root.'/'.$file, ['app' => 'core']);
|
$this->logger->warning('Failed to compile and/or save '.$root.'/'.$file, ['app' => 'core']);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$this->logger->error('Scss is disabled for '.$root.'/'.$file.', ignoring', ['app' => 'core']);
|
$this->logger->debug('Scss is disabled for '.$root.'/'.$file.', ignoring', ['app' => 'core']);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,7 +75,7 @@ abstract class ResourceLocator {
|
||||||
$this->doFind($resource);
|
$this->doFind($resource);
|
||||||
} catch (ResourceNotFoundException $e) {
|
} catch (ResourceNotFoundException $e) {
|
||||||
$resourceApp = substr($resource, 0, strpos($resource, '/'));
|
$resourceApp = substr($resource, 0, strpos($resource, '/'));
|
||||||
$this->logger->error('Could not find resource file "' . $e->getResourcePath() . '"', ['app' => $resourceApp]);
|
$this->logger->debug('Could not find resource file "' . $e->getResourcePath() . '"', ['app' => $resourceApp]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!empty($this->theme)) {
|
if (!empty($this->theme)) {
|
||||||
|
@ -84,7 +84,7 @@ abstract class ResourceLocator {
|
||||||
$this->doFindTheme($resource);
|
$this->doFindTheme($resource);
|
||||||
} catch (ResourceNotFoundException $e) {
|
} catch (ResourceNotFoundException $e) {
|
||||||
$resourceApp = substr($resource, 0, strpos($resource, '/'));
|
$resourceApp = substr($resource, 0, strpos($resource, '/'));
|
||||||
$this->logger->error('Could not find resource file "' . $e->getResourcePath() . '"', ['app' => $resourceApp]);
|
$this->logger->debug('Could not find resource file "' . $e->getResourcePath() . '"', ['app' => $resourceApp]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue