Statlog to config
This commit is contained in:
parent
322274a115
commit
00a0e131b4
|
@ -92,7 +92,14 @@ function userLogin(client, username, password, cb) {
|
||||||
userId : user.userId,
|
userId : user.userId,
|
||||||
sessionId : user.sessionId,
|
sessionId : user.sessionId,
|
||||||
});
|
});
|
||||||
return StatLog.appendSystemLogEntry('user_login_history', historyItem, loginHistoryMax, StatLog.KeepType.Max, callback);
|
|
||||||
|
return StatLog.appendSystemLogEntry(
|
||||||
|
'user_login_history',
|
||||||
|
historyItem,
|
||||||
|
loginHistoryMax,
|
||||||
|
StatLog.KeepType.Max,
|
||||||
|
callback
|
||||||
|
);
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
err => {
|
err => {
|
||||||
|
|
|
@ -366,4 +366,11 @@
|
||||||
// see the documentation for more information!
|
// see the documentation for more information!
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
|
statLog: {
|
||||||
|
systemEvents: {
|
||||||
|
// Max login history event records kept. -1 = unlimited
|
||||||
|
loginHistoryMax: -1
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue