-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Description
Play Version 2.6.9
API Both
Actual Behavior
- start the application
- see application log
- there is always a warning something like:
08:53:59 [warn] application Using the following cache for assets configuration:
enabledCaching = false
enabledCacheControl = false
defaultCacheControl = public, max-age=3600
aggressiveCacheControl = public, max-age=31536000, immutable
configuredCacheControl:
I suppose that warning logs should be emitted only when there is something wrong. However, PR #7996 introduced this piece of code, which always logs the current configuration as a warning without any further explanation.
I am wondering why. If this is a feature, it should be documented and I haven't found any note about it, thus it would be a documentation bug. Otherwise, I suggest to either remove the log, make it optional, e.g. through a separate logger, which can be turned off, or at least reduce its level.
almothafar, nloyola, psttf, rmcloughlin, nafg and 5 moredsncode
Metadata
Metadata
Assignees
Labels
No labels