accesslog.log2play is by default true, and not false

#1 · closed · 3 comments

View on GitHub ↗

omaroman

In the documentacion, section "Log 2 Play" Should we also log this to the play.Logger for convenience when dev’ing so the requests are seen in the console? This is done at the INFO level. Defaults to false. accesslog.log2play=true But, default value is "true"

Comments

briannesbitt

Ah yes, nice catch. Maybe it should be determined from the environment actually. IF there is a value specified use that. ELSE if dev then true, else false Of maybe just false is the best default and let the user turn it on.

omaroman

I agree false is the best default value and let the user turn it on

briannesbitt

Updated.