Compare commits

..

1 Commits

Author SHA1 Message Date
8887031284 Use winston for logging 2021-03-14 21:26:40 -06:00

View File

@ -114,10 +114,10 @@ async function main() {
const rcsdk = await initRingCentralSDK();
const db = await initDB();
logger.info("Starting");
const intervals = ticketize(sonar, rcsdk, db, getTicketizeConfig());
logger.info("Started");
["SIGINT", "SIGTERM", "SIGQUIT"].forEach((sig) => {
process.on(sig, async () => {
logger.info(`\nCaught ${sig}, shutting down...`);