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

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