Include a timestamp in every authentication logger message

This commit is contained in:
Senén Rodero Rodríguez
2023-08-17 17:58:57 +02:00
parent b7073691f1
commit 9112d2d73b
2 changed files with 11 additions and 1 deletions

View File

@@ -3,7 +3,9 @@ class AuthenticationLogger
class << self
def log(message)
logger.info(message)
logger.tagged(Time.current) do
logger.info(message)
end
end
def path