Skip to content

Commit

Permalink
Tag logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Jul 2, 2023
1 parent 3f60380 commit 728331e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,14 @@ export default async function App (fastify, opts) {

export const options = {
trustProxy: true,
genReqId: function (req) { return hid() }
genReqId: function (req) { return hid() },
logger: {
mixin () {
return {
service: 'breadcrum.net',
ddsource: 'nodejs',
ddtags: 'env:prod'
}
}
}
}

0 comments on commit 728331e

Please sign in to comment.