ignore logger file
This commit is contained in:
parent
c55dc28d59
commit
a7445c3520
@ -1,13 +1,7 @@
|
||||
import { createWriteStream } from "fs";
|
||||
import pino, { multistream } from "pino";
|
||||
|
||||
// const streams = [
|
||||
// { stream: process.stdout },
|
||||
// { stream: createWriteStream("/logs/logfile.log", { flags: "a" }) },
|
||||
// ];
|
||||
|
||||
// export default pino({}, multistream(streams));
|
||||
import pino from "pino";
|
||||
|
||||
/* c8 ignore start */
|
||||
export default pino({
|
||||
level: process.env.LOG_LEVEL || "info",
|
||||
});
|
||||
/* c8 ignore stop */
|
||||
|
Loading…
Reference in New Issue
Block a user