fix: refactoring logs and adding pino logger for production and dev.

This commit is contained in:
Charles GTE
2026-03-29 11:41:39 +02:00
parent f410a8fdd5
commit 1ce93af144
5 changed files with 5 additions and 5 deletions
@@ -21,7 +21,7 @@ export const POST = withAgentCheck(async (request: Request, {params, agent}: {
try {
const body: Body = await request.json();
log.debug({data: body}, "Body for backup upload init");
log.info({data: body}, "Body for backup upload init");
const generatedId = body.generatedId;
const storageChannelId = body.storageChannelId;