Fix logger log level for development.
This commit is contained in:
parent
a0d12d4661
commit
8fe8ba68f8
@ -11,12 +11,14 @@ const loggerConfig: Record<string, pino.LoggerOptions> = {
|
|||||||
transport: {
|
transport: {
|
||||||
targets: [
|
targets: [
|
||||||
{
|
{
|
||||||
|
level: "debug",
|
||||||
target: "pino-pretty",
|
target: "pino-pretty",
|
||||||
options: {
|
options: {
|
||||||
colorize: true,
|
colorize: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
level: "debug",
|
||||||
target: "pino/file",
|
target: "pino/file",
|
||||||
options: {
|
options: {
|
||||||
destination: "./logs/dev.log",
|
destination: "./logs/dev.log",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user