mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Started work on internalization of event log.
This commit is contained in:
parent
8726254e36
commit
6aabbf9dc9
10 changed files with 185 additions and 38429 deletions
|
@ -1645,7 +1645,7 @@ function CreateMeshCentralServer(config, args) {
|
|||
// If the database is not setup, exit now.
|
||||
if (!obj.db) return;
|
||||
|
||||
// Send event to syslog is needed
|
||||
// Send event to syslog if needed
|
||||
if (obj.syslog && event.msg) { obj.syslog.log(obj.syslog.LOG_INFO, event.msg); }
|
||||
if (obj.syslogjson) { obj.syslogjson.log(obj.syslogjson.LOG_INFO, JSON.stringify(event)); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue