fix: replace console logging with logger across services and features (#26127)

Co-authored-by: Dhairyashil Shinde <[email protected]>
This commit is contained in:
Kartik LabhshetwarandDhairyashil Shinde authored and GitHub committed 2025-12-23 08:24:23 +00:00
1 parent a2cb529d62
commit 96f8a89efa
6 files changed
+20 -15

No files matched your search

+3 -1
View File
@@ -1,3 +1,5 @@
import logger from "@calcom/lib/logger";
import { Task } from "./repository";
import type { TaskTypes } from "./tasker";
import { type TaskerCreate, type Tasker } from "./tasker";
@@ -16,7 +18,7 @@ export class InternalTasker implements Tasker {
async cleanup(): Promise<void> {
const count = await Task.cleanup();
console.info(`Cleaned up ${count} tasks`);
logger.info(`Cleaned up ${count} tasks`);
}
async cancel(id: string): Promise<string> {