Package uk.co.terminological.rjava
Class RLogController
java.lang.Object
uk.co.terminological.rjava.RLogController
LogController class.
- Version:
- $Id: $Id
- Author:
- vp22681
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
changeLogLevel
(String logLevel) Configure log dynamically.static void
configureLog
(String logLevel) Configure log dynamically.static String
Handles files, jar entries, and deployed jar entries in a zip file (EAR).static void
reconfigureLog
(String filename) Dynamically reconfigure java logging using a log4j properties file.
-
Constructor Details
-
RLogController
public RLogController()
-
-
Method Details
-
changeLogLevel
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
Dynamically reconfigure java logging using a log4j properties file.- Parameters:
filename
- the filename of the properties file.
-
configureLog
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
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.
-