Skip to content

Commit 157ecf6

Browse files
authored
feat: remove ip from log (#187)
1 parent c2f86b4 commit 157ecf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const createLogEntry = (ctx, status = 200, error = null) => {
44
return {
55
timestamp: new Date().toISOString(),
66
user_agent: ctx.headers['user-agent'],
7-
ip: ctx.ip,
7+
// ip: ctx.ip,
88
endpoint: ctx.originalUrl,
99
status,
1010
writeKey: writeKey || 'N/A',

0 commit comments

Comments
 (0)