Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 1.0.3
-
Fix Version/s: 1.4-M1
-
Component/s: Controllers
-
Labels:None
-
Environment:Windows XP, JDK 1.6.0_02
Description
Log messages from any filter come from the same log instance. The attached sample app demonstrates the issue, simply execute any action from the GUI and two separate filters will each write a log message. Note that all messages come from the same logger even though the messages are coming from two separate filters. (I noticed this same behavior in an app with many filters – all filters have the same logger.)
Attachments
Issue Links
| This issue is duplicated by: | ||||
| GRAILS-6077 | filter loggers share same name |
|
|
|
I think the current filters implementation will need a thorough rethink. The filters are unusual in that they are not actually instances of their defining class, but of FilterConfig. This actually causes several problems, including the issue described here.