Skip to content

Commit

Permalink
Merge pull request #5262 from sul-dlss/lograge-timestamps
Browse files Browse the repository at this point in the history
Add timestamps to log entries
  • Loading branch information
justinlittman authored Feb 11, 2025
2 parents dc44295 + 5afdc24 commit 960040c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@
end

# Prepend all log lines with the following tags.
config.log_tags = [:request_id]
config.log_tags = [
->(_request) { Time.now.iso8601 },
:request_id
]

# "info" includes generic and useful information about system operation, but avoids logging too much
# information to avoid inadvertent exposure of personally identifiable information (PII). If you
Expand Down

0 comments on commit 960040c

Please sign in to comment.