Commit 132df530 authored by nanahira's avatar nanahira

debugs

parent e8852d1b
...@@ -90,7 +90,7 @@ export class Rule implements Salt { ...@@ -90,7 +90,7 @@ export class Rule implements Salt {
sendingMinutes = fromMinutes + random; sendingMinutes = fromMinutes + random;
} }
const sendingTime = moment.unix(sendingMinutes * 60); const sendingTime = moment.unix(sendingMinutes * 60);
logger.warn( logger.debug(
`${nowMinutes}: Should send ${this.generateText()} to ${target.getDescription()} at ${sendingTime.format( `${nowMinutes}: Should send ${this.generateText()} to ${target.getDescription()} at ${sendingTime.format(
'YYYY-MM-DD HH:mm', 'YYYY-MM-DD HH:mm',
)}`, )}`,
...@@ -182,7 +182,7 @@ export class Instance { ...@@ -182,7 +182,7 @@ export class Instance {
logger.info(`Skipping job for ${this.from} because it's not online.`); logger.info(`Skipping job for ${this.from} because it's not online.`);
return this; return this;
} }
logger.warn( logger.debug(
`${moment().format('YYYY-MM-DD HH:mm')}: Running job for ${this.from}...`, `${moment().format('YYYY-MM-DD HH:mm')}: Running job for ${this.from}...`,
); );
const prom: Promise<string[]>[] = []; const prom: Promise<string[]>[] = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment