mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
MVC: base model, change LOG_LOCAL4 to LOG_LOCAL2, LOG_LOCAL4 ends up in portal auth, when using LOG_LOCAL2 it should end up by default in the systemlog.
This commit is contained in:
parent
b00902e46c
commit
ca110dc008
@ -556,7 +556,7 @@ abstract class BaseModel
|
||||
// create logger to save possible consistency issues to
|
||||
$logger = new Syslog("config", array(
|
||||
'option' => LOG_PID,
|
||||
'facility' => LOG_LOCAL4
|
||||
'facility' => LOG_LOCAL2
|
||||
));
|
||||
|
||||
// Perform validation, collect all messages and raise exception if validation is not disabled.
|
||||
@ -636,7 +636,7 @@ abstract class BaseModel
|
||||
) {
|
||||
$upgradePerfomed = false;
|
||||
$migObjects = array();
|
||||
$logger = new Syslog("config", array('option' => LOG_PID, 'facility' => LOG_LOCAL4));
|
||||
$logger = new Syslog("config", array('option' => LOG_PID, 'facility' => LOG_LOCAL2));
|
||||
$class_info = new ReflectionClass($this);
|
||||
// fetch version migrations
|
||||
$versions = array();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user