mirror of https://github.com/MISP/MISP
SysLog.SysLog lib import.
parent
3ff180e898
commit
cf40a908d4
|
@ -447,6 +447,7 @@ class UsersController extends AppController {
|
|||
$dbh = null;
|
||||
|
||||
// write to syslogd as well
|
||||
App::import('Lib', 'SysLog.SysLog');
|
||||
$syslog = new SysLog();
|
||||
if ($fields_result) $syslog->write('notice', $description.' -- '.$action.' -- '.$fields_result);
|
||||
else $syslog->write('notice', $description.' -- '.$action);
|
||||
|
|
Loading…
Reference in New Issue