gshaw / concise_logging

Alternate logging for Rails production servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timestamp

shido76 opened this issue · comments

Your gem is amazing!
Have you coud be add timestamp for each line in log?

I think you would have to modify it to do that. We use it with PaperTrail app which automatically includes a timestamp so it isn't needed.

If you add this to your environmental config file:

config.log_tags  = [->(request) { Time.now }]

You will get a timestamp in your logs.

Thank you choltz-i4cp. I will ty