Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Commit

Permalink
Satt loglevel på /ping til verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
MatsAnd committed Mar 2, 2021
1 parent 17f56d2 commit 00eee6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Ping/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const { logConfig, logger } = require('@vtfk/logger')

module.exports = async function (context, req) {
logConfig({ azure: { context }, prefix: 'ping' })
logger('info', req.headers.host)
logConfig({ azure: { context }})
logger('verbose', ['ping', req.headers.host])

return {
body: {
Expand Down

0 comments on commit 00eee6e

Please # to comment.