Adding startup message to logging remote server
This commit is contained in:
parent
ed46cf4963
commit
aa381965b7
@ -3,7 +3,8 @@ import config from "./config";
|
|||||||
|
|
||||||
import NLS from "@hibas123/nodeloggingserver_client";
|
import NLS from "@hibas123/nodeloggingserver_client";
|
||||||
if (config.logging) {
|
if (config.logging) {
|
||||||
NLS(Logging, config.logging.server, config.logging.appid, config.logging.token);
|
let s = NLS(Logging, config.logging.server, config.logging.appid, config.logging.token);
|
||||||
|
s.send(`[${new Date().toLocaleTimeString()}] Starting application`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (!config.database) {
|
// if (!config.database) {
|
||||||
|
Loading…
Reference in New Issue
Block a user