[
http://jira.jboss.com/jira/browse/JBSEAM-2232?page=comments#action_12386866 ]
Max Andersen commented on JBSEAM-2232:
--------------------------------------
I know of one usecase where these events are usefull, namely to allow the tooling to
listen for events and put a breakpoint automatically when a specific event happens.
Tracing down when something is initialized is usefull.
I would suggest we move the event logging to a TRACE level instead or somehow allow users
to enable/disable logging for the events they want.
Reduce debug log level for events
---------------------------------
Key: JBSEAM-2232
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2232
Project: JBoss Seam
Issue Type: Task
Components: Core
Reporter: Christian Bauer
Priority: Critical
Debug logging with Seam 2.x is completely useless. The most critical information in the
debug log is the instantiation and lookup of components, however, if you enable DEBUG for
org.jboss.seam.Component, you get thousands of these:
12:26:06,282 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events
12:26:06,282 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events
12:26:06,282 DEBUG [Component] done initializing: org.jboss.seam.core.events
We need to exclude the event firing from debug logging, even if we hardcode it. And, are
these events really useful? I have no idea why and when I'd want to listen to
"context variable initialized" events.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira