[jboss-jira] [JBoss JIRA] (JBJCA-1022) Method parameters should be logged

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Mon Apr 1 09:47:41 EDT 2013


Jesper Pedersen created JBJCA-1022:
--------------------------------------

             Summary: Method parameters should be logged
                 Key: JBJCA-1022
                 URL: https://issues.jboss.org/browse/JBJCA-1022
             Project: IronJacamar
          Issue Type: Task
          Components: Code Generator
            Reporter: Jesper Pedersen
            Assignee: Jeff Zhang


Methods that takes parameter should have those logged as part of the .finest() / .trace() statement.

F.ex.

{noformat}
log.trace("addConnectionEventListener()");
{noformat}

should be

{noformat}
log.tracef("addConnectionEventListener(%s)", cel);
{noformat}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list