Skip to content

Commit 3184fee

Browse files
committed
add log level env var
1 parent eed2f1f commit 3184fee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/services/webapp/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class WebApp extends Service {
1717
constructor(container: Container) {
1818
super(container);
1919

20-
this.app.use(pinoHttp({ base: undefined }));
20+
this.app.use(pinoHttp({ base: undefined, level: process.env.LOG_LEVEL || "info" }));
2121

2222
for (const addAPI of APIs) {
2323
addAPI(this);

0 commit comments

Comments
 (0)