chore: 更改 loglevel

This commit is contained in:
Clansty 2024-01-09 23:43:08 +08:00
parent eca61fc5be
commit a35895ee0c
No known key found for this signature in database
GPG Key ID: 3A6BE8BAF2EDE134
3 changed files with 1 additions and 4 deletions

View File

@ -21,7 +21,7 @@ import { randomBytes } from 'crypto';
import { escapeXml, gzip, timestamp } from 'icqq/lib/common';
import { pb } from 'icqq/lib/core';
const LOG_LEVEL: LogLevel = process.env.LOG_LEVEL as LogLevel || 'info';
const LOG_LEVEL: LogLevel = process.env.LOG_LEVEL as LogLevel || 'warn';
type MessageHandler = (event: PrivateMessageEvent | GroupMessageEvent) => Promise<boolean | void>

View File

@ -46,7 +46,6 @@ export default class {
await this.getMessages();
this.currentStatus = 'getMedia';
await this.messagesToTxt();
console.log(this.importTxt, this.filesMap);
this.currentStatus = 'uploadMessage';
await this.updateStatusMessage();
await this.importMessagesAndMedia();

View File

@ -415,7 +415,6 @@ export default class ForwardService {
}<hr hidden="false" style="0" /><summary size="26" color="#777777"></summary
></item><source name="Q2TG" icon="" action="" appid="-1" /></msg>`.replaceAll('\n', ''),
});
console.log(chain);
brief += '[Spoiler 图片]';
}
else {
@ -667,7 +666,6 @@ export default class ForwardService {
}
}
tempFiles.forEach(it => it.cleanup());
console.log(qqMessages);
return qqMessages;
}
catch (e) {