5.1 Enabling WebService Log

It is not recommended to enable WebServices log while running in production environment. The logging should be enabled in production only for debugging purpose by following the below mentioned steps.
  1. The log file path has to be specified in logging.properties file.
  2. The file is available inside config folder. Navigate to dbkls-xxws.ws.app-dt.ear/dbkls-xws-web-dt.war/WEB-INF/classes/config/
    • Edit the following with the log file path: java.util.logging.FileHandler.pattern=<Path>/dbkls_xws_%g.log
  3. Restart the managed server (in which services are deployed) with the following argument:

    Table 5-1 Argument

    Type Description
    Argument Djava.util.logging.config.file=<Path of the above logging.properties file>/logging.properties
    Example nohup ./startManagedWebLogic.sh -Djava.util.logging.config.file=<Path of the above logging.properties file>/logging.properties &
  4. The login levels can be set through the logging.properties file. Un-comment the level required in the logging.properties file.
    • #com.ofss.fll.xws.level=FINEST
    • #com.ofss.fll.xws.level=FINER
    • #com.ofss.fll.xws.level=FINE
    • #com.ofss.fll.xws.level=CONFIG
    • #com.ofss.fll.xws.level=INFO