Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

remove write to file for now

Maidul Islam59f662f8a8c5
diff --git a/backend/src/lib/logger/logger.ts b/backend/src/lib/logger/logger.ts
index f39ce99c9c..c124fcf4c1 100644
--- a/backend/src/lib/logger/logger.ts
+++ b/backend/src/lib/logger/logger.ts
@@ -37,7 +37,7 @@ export const initLogger = async () => {
level: "info",
target: "pino/file",
options: {
- destination: cfg.NODE_ENV === "development" ? 1 : "/var/logs/infisical.log",
+ destination: 1,
mkdir: true
}
}