1 Reply Latest reply on Sep 1, 2017 1:06 PM by ytella RSS
    cschmerling Newbie

    How to enable/find logging in an Extension

    I have created an extension using Eclipse and am successfully loading it and running a service.  Having followed the instructions in the guide I created the logger using the following API

     

    private static Logger _logger = LogUtilities.getInstance().getApplicationLogger(ColorwaySizeTestThingTemplate.class);

     

    I have the application logger set to trace in the monitor, and have tried setting the trace level to the class in the initializeThing method using the following API (as a guess):

     

    LogUtilities.setLoggerLevel(ColorwaySizeTestThingTemplate.class.getName(), Level.TRACE);

     

    I know my service is getting called, but none of my logger.trace methods are coming out in the application log.  Any suggestions on how to actually enable the logging for a given extension class?