Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
centreon
centreon
Commits
938844f7
Unverified
Commit
938844f7
authored
Apr 16, 2020
by
sc979
Committed by
GitHub
Apr 16, 2020
Browse files
enh: add a new log file (#8616)
parent
26c92280
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/class/centreonLog.class.php
View file @
938844f7
...
...
@@ -149,6 +149,7 @@ class CentreonLog
$this
->
errorType
[
2
]
=
$this
->
path
.
"/sql-error.log"
;
$this
->
errorType
[
3
]
=
$this
->
path
.
"/ldap.log"
;
$this
->
errorType
[
4
]
=
$this
->
path
.
"/upgrade.log"
;
$this
->
errorType
[
5
]
=
$this
->
path
.
'/plugin-pack-manager.log'
;
foreach
(
$customLogs
as
$key
=>
$value
)
{
if
(
!
preg_match
(
'@'
.
$this
->
path
.
'@'
,
$value
))
{
...
...
Write
Preview
Supports
Markdown
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