Class RLogController

java.lang.Object
uk.co.terminological.rjava.RLogController

public class RLogController extends Object

LogController class.

Version:
$Id: $Id
Author:
vp22681
  • Constructor Details

    • RLogController

      public RLogController()
  • Method Details

    • changeLogLevel

      public static void changeLogLevel(String logLevel)
      Configure log dynamically. This can be called from R to change the log level
      Parameters:
      logLevel - the log level one of ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN
    • reconfigureLog

      public static void reconfigureLog(String filename)
      Dynamically reconfigure java logging using a log4j properties file.
      Parameters:
      filename - the filename of the properties file.
    • configureLog

      public static void configureLog(String logLevel)
      Configure log dynamically. This can be called from R to change the log level
      Parameters:
      logLevel - the log level one of ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN
    • getClassBuildTime

      public static String getClassBuildTime()
      Handles files, jar entries, and deployed jar entries in a zip file (EAR).
      Returns:
      The date if it can be determined, or null if not.