Skip to content

Commit d25734d

Browse files
authored
fix: properly silence logging for CLI (#195)
1 parent 9a7a484 commit d25734d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/add/add.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export async function runAdd(options: AddOptions): Promise<AddResult> {
7070

7171
// Initialize logger (silent for CLI output)
7272
const logger = pino({
73-
level: process.env.LOG_LEVEL || 'error',
73+
level: process.env.LOG_LEVEL || 'silent',
7474
})
7575

7676
// Check CDN status and warn if enabled

src/import/import.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export async function runCarImport(options: ImportOptions): Promise<ImportResult
128128

129129
// Initialize logger (silent for CLI output)
130130
const logger = pino({
131-
level: process.env.LOG_LEVEL || 'error',
131+
level: process.env.LOG_LEVEL || 'silent',
132132
})
133133

134134
// Check CDN status and warn if enabled

0 commit comments

Comments
 (0)