Petals SE Notification

Remove calls to getClass().getSimpleName() in logs

Details

  • Type: Improvement Request Improvement Request
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.0.2
  • Fix Version/s: 1.0.3
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    There is no need to add programmatically the class name like in many classes of the component :

    this.logger.log(Level.WARNING,
                        "["
                        + e.getClass().getSimpleName()
                        + "] -An error occurs during messageExchange building and sending process, for \"subscribe\" request");

    The logger configuration is already providing this feature.

    Show
    There is no need to add programmatically the class name like in many classes of the component :
    this.logger.log(Level.WARNING,
                        "["
                        + e.getClass().getSimpleName()
                        + "] -An error occurs during messageExchange building and sending process, for \"subscribe\" request");
    The logger configuration is already providing this feature.
  • Environment:
    All

Activity

Christophe Hamerling made changes - Fri, 27 Aug 2010 - 15:19:31 +0200
Field Original Value New Value
Assignee Roland Naudin [ rnaudin ] Christophe Hamerling [ chamerling ]
Christophe Hamerling made changes - Fri, 27 Aug 2010 - 15:21:38 +0200
Status New [ 10000 ] Open [ 10002 ]
Priority Trivial [ 5 ]
Christophe Hamerling made changes - Fri, 27 Aug 2010 - 15:21:40 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe Hamerling made changes - Fri, 27 Aug 2010 - 15:21:44 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 1.0.3 [ 10119 ]
Resolution Fixed [ 1 ]
Olivier Fabre made changes - Tue, 2 Nov 2010 - 17:24:30 +0100
Status Resolved [ 10004 ] Closed [ 10005 ]

People

Dates

  • Created:
    Mon, 23 Aug 2010 - 15:56:12 +0200
    Updated:
    Tue, 2 Nov 2010 - 17:24:30 +0100
    Resolved:
    Fri, 27 Aug 2010 - 15:21:44 +0200