Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
ACP3
ACP3 CMS
Commits
28e9224d
Commit
28e9224d
authored
Jan 26, 2019
by
Tino Goratsch
Browse files
raise the default log from debug to warning
parent
86eede89
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
ACP3/Core/Logger/LoggerFactory.php
ACP3/Core/Logger/LoggerFactory.php
+1
-1
ACP3/Core/config/components/database.yml
ACP3/Core/config/components/database.yml
+1
-0
ACP3/Modules/ACP3/Seo/Event/Listener/GenerateSitemapOnModelAfterSaveListener.php
...vent/Listener/GenerateSitemapOnModelAfterSaveListener.php
+1
-1
No files found.
ACP3/Core/Logger/LoggerFactory.php
View file @
28e9224d
...
...
@@ -38,7 +38,7 @@ class LoggerFactory
*
* @throws \Exception
*/
public
function
create
(
$channel
,
$level
=
LogLevel
::
DEBU
G
)
public
function
create
(
$channel
,
$level
=
LogLevel
::
WARNIN
G
)
{
$fileName
=
$this
->
appPath
->
getCacheDir
()
.
'logs/'
.
$channel
.
'.log'
;
...
...
ACP3/Core/config/components/database.yml
View file @
28e9224d
...
...
@@ -15,3 +15,4 @@ services:
factory
:
'
core.logger.logger_factory:create'
arguments
:
-
'
database'
-
'
debug'
ACP3/Modules/ACP3/Seo/Event/Listener/GenerateSitemapOnModelAfterSaveListener.php
View file @
28e9224d
...
...
@@ -75,7 +75,7 @@ class GenerateSitemapOnModelAfterSaveListener
try
{
$this
->
sitemapGenerationModel
->
save
();
}
catch
(
SitemapGenerationException
$e
)
{
$this
->
logger
->
info
(
$e
->
getMessage
());
$this
->
logger
->
warning
(
$e
->
getMessage
());
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment