You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On controller creation a logger is attached to the controller, this logger has contextual information like the clientIp, request path, etc etc. Every log message sent to this logger will add this to the log message
Added ability to log to json files. If log file ends in json then the logger will write to that file
Added ability to define logger.maxsize (in mega bytes) defaults to 10G
Added ability to define logger.maxage (in days) defaults to 7
If either of those values are exceeded the log file is rotated - ie the old is renamed and a new one is created
Logger implementation is contained inside of the revel/logger package
Added defaults so logging was not discarded (when used by the revel harness)
0 commit comments