Commit 28e9224d authored by Tino Goratsch's avatar Tino Goratsch

raise the default log from debug to warning

parent 86eede89
......@@ -38,7 +38,7 @@ class LoggerFactory
*
* @throws \Exception
*/
public function create($channel, $level = LogLevel::DEBUG)
public function create($channel, $level = LogLevel::WARNING)
{
$fileName = $this->appPath->getCacheDir() . 'logs/' . $channel . '.log';
......
......@@ -15,3 +15,4 @@ services:
factory: 'core.logger.logger_factory:create'
arguments:
- 'database'
- 'debug'
......@@ -75,7 +75,7 @@ class GenerateSitemapOnModelAfterSaveListener
try {
$this->sitemapGenerationModel->save();
} catch (SitemapGenerationException $e) {
$this->logger->info($e->getMessage());
$this->logger->warning($e->getMessage());
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment