Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
modify logging outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
CelestialCrafter committed Dec 13, 2023
1 parent 4ae825b commit 7b7a387
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/logging.server.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import bunyan, { TRACE } from 'bunyan';
import bunyan, { INFO, TRACE } from 'bunyan';
const { WARN, createLogger, stdSerializers } = bunyan;

const transactionSerializer = transaction => {
Expand Down Expand Up @@ -43,12 +43,12 @@ export const log = createLogger({
level: TRACE
},
{
stream: process.stdout,
stream: process.stderr,
level: TRACE
},
{
stream: process.stderr,
level: WARN
stream: process.stdout,
level: INFO
}
],
serializers: {
Expand Down

0 comments on commit 7b7a387

Please sign in to comment.