Come join us on November 27-29, 2018 at the Gartner Application Strategies & Solutions Summit 2018 in Las Vegas, USA.

Skip to end of metadata
Go to start of metadata

Description

  • org.joget.commons.util.LogUtil
  • Under wflow-commons module
  • Utility methods to log message to log file

Code Sample

Methods

debug
public static void debug(java.lang.String className, java.lang.String message)

Log message with logger level is debug

error
public static void error(java.lang.String className, java.lang.Throwable e, java.lang.String message)

Log exception message with logger level is error

getTomcatLogFile
public static java.io.File getTomcatLogFile(java.lang.String filename)

Convenient method to retrieve all tomcat log file by file name 

info
public static void info(java.lang.String className, java.lang.String message)

Log message with logger level is info

isDeployInTomcat
public static java.lang.Boolean isDeployInTomcat()

Check is the current installation is deploy in Tomcat server

tomcatLogFiles
public static java.io.File[] tomcatLogFiles()

Convenient method to retrieve all tomcat log files 

warn
public static void warn(java.lang.String className, java.lang.String message)

Log message with logger level is warn

  • No labels