mirror of https://github.com/Budibase/budibase.git
5 changed files with 18 additions and 17 deletions
@ -0,0 +1,11 @@ |
|||||
|
const env = require("./environment") |
||||
|
|
||||
|
exports.pinoSettings = () => ({ |
||||
|
prettyPrint: { |
||||
|
levelFirst: true, |
||||
|
}, |
||||
|
level: env.LOG_LEVEL || "error", |
||||
|
autoLogging: { |
||||
|
ignore: req => req.url.includes("/health"), |
||||
|
}, |
||||
|
}) |
||||
Loading…
Reference in new issue