We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6e8a7a commit b148335Copy full SHA for b148335
app/services/webapp/index.ts
@@ -17,7 +17,14 @@ export class WebApp extends Service {
17
constructor(container: Container) {
18
super(container);
19
20
- this.app.use(pinoHttp({ base: undefined, level: process.env.LOG_LEVEL || "info" }));
+ this.app.use(
21
+ pinoHttp({
22
+ logger: log,
23
+ base: undefined,
24
+ level: process.env.LOG_LEVEL || "info",
25
+ autoLogging: { ignore: req => req.url.startsWith("/server-status") },
26
+ })
27
+ );
28
29
for (const addAPI of APIs) {
30
addAPI(this);
0 commit comments