chore: adjust log level (#6913)

This commit is contained in:
darkskygit
2024-05-14 09:32:28 +00:00
parent b8333de119
commit 8881286025
5 changed files with 12 additions and 8 deletions

View File

@@ -52,7 +52,7 @@ export function registerCopilotProvider<
);
}
const instance = new provider(providerConfig as C);
logger.log(
logger.debug(
`Copilot provider ${type} registered, capabilities: ${provider.capabilities.join(', ')}`
);

View File

@@ -42,7 +42,7 @@ export class RedisMutexLocker implements ILocker {
async lock(owner: string, key: string): Promise<Lock> {
const lockKey = `MutexLock:${key}`;
this.logger.debug(`Client ${owner} is trying to lock resource ${key}`);
this.logger.verbose(`Client ${owner} is trying to lock resource ${key}`);
const success = await this.redis.sendCommand(
new Command('EVAL', [lockScript, '1', lockKey, owner])