Unverified Commit 938844f7 authored by sc979's avatar sc979 Committed by GitHub
Browse files

enh: add a new log file (#8616)

parent 26c92280
...@@ -149,6 +149,7 @@ class CentreonLog ...@@ -149,6 +149,7 @@ class CentreonLog
$this->errorType[2] = $this->path . "/sql-error.log"; $this->errorType[2] = $this->path . "/sql-error.log";
$this->errorType[3] = $this->path . "/ldap.log"; $this->errorType[3] = $this->path . "/ldap.log";
$this->errorType[4] = $this->path . "/upgrade.log"; $this->errorType[4] = $this->path . "/upgrade.log";
$this->errorType[5] = $this->path . '/plugin-pack-manager.log';
foreach ($customLogs as $key => $value) { foreach ($customLogs as $key => $value) {
if (!preg_match('@' . $this->path . '@', $value)) { if (!preg_match('@' . $this->path . '@', $value)) {
......
Supports Markdown
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