MatrixBerryCore
|
LOG4JCONFIGURATOR simplifies log4j configuration, especially when Parallel Computing Toolbox is used. In the latter case the class forwards the logs of different processees in separate log files. More...
Static Public Member Functions | |
static function | configure (in confSource, in varargin) |
CONFIGURE performs log4j configuration. More... | |
static function | getMainLogFileName () |
Static Public Member Functions inherited from mxberry::log::log4j::Log4jConfigurator | |
static function | isConfigured () |
static function | isLocked () |
static function | configureSimply (in logLevel, in varargin) |
static function | getLogger (in loggerName, in isSuffix) |
GETLOGGER - gets logger for caller (it may be either script or function or method of some class) More... | |
static function | lockConfiguration () |
static function | unlockConfiguration () |
static function | getLastLogPropStr () |
virtual static function | configure (in confSource) |
Public Attributes | |
Constant Property | MASTER_LOG_FILE_NAME ='master' |
Constant Property | CHILD_LOG_FILE_NAME_PREFIX ='child' |
Constant Property | LOG_FILE_EXT =sprintf |
Constant Property | MAIN_LOG_FILE_PREFIX ='main.' |
Constant Property | SP_MAIN_LOG_FILE_NAME ='mxberry.testrunner.log4j.logfile.main.name' |
Constant Property | SP_CUR_PROCESS_NAME ='mxberry.testrunner.log4j.curProcessName' |
Constant Property | SP_LOG_DIR_WITH_SEP ='mxberry.testrunner.log4j.logfile.dirwithsep' |
Constant Property | SP_LOG_FILE_EXP ='mxberry.testrunner.log4j.logfile.ext' |
Constant Property | CONF_REPO_MGR_CLASS ='mxberry.test.conf.AdaptiveConfRepoManager' |
Public Attributes inherited from mxberry::log::log4j::Log4jConfigurator | |
Constant Property | MASTER_LOG_FILE_NAME |
Constant Property | CHILD_LOG_FILE_NAME_PREFIX |
Constant Property | LOG_FILE_EXT |
Constant Property | MAIN_LOG_FILE_PREFIX |
Constant Property | SP_MAIN_LOG_FILE_NAME |
Constant Property | SP_CUR_PROCESS_NAME |
Constant Property | SP_LOG_DIR_WITH_SEP |
Constant Property | SP_LOG_FILE_EXP |
Private Member Functions | |
function | Log4jConfigurator () |
Additional Inherited Members | |
Protected Member Functions inherited from mxberry::log::log4j::Log4jConfigurator | |
function | getMainLogFileNameInternal (in self) |
GETMAINLOGFILENAMEINTERNAL - returns a full name of the main log file. More... | |
function | getShortMainLogFileNameInternal (in self) |
GETMAINLOGFILENAME - returns a short name (without path) of the main log file. More... | |
function | getCurProcessNameInternal (in self) |
GETCURPROCESSNAME - returns a name of currently running process. More... | |
function | getMainLogFilePathInternal (in self) |
function | configureInternal (in self, in logPropStr, in varargin) |
CONFIGURE - performs log4j configuration using a log4j property string as a source. More... | |
Static Protected Member Functions inherited from mxberry::log::log4j::Log4jConfigurator | |
static function | getSetConfStatus (in varargin) |
static function | getSetLockStatus (in varargin) |
static function | getSetLogPropStr (in varargin) |
LOG4JCONFIGURATOR simplifies log4j configuration, especially when Parallel Computing Toolbox is used. In the latter case the class forwards the logs of different processees in separate log files.
Definition at line 10 of file Log4jConfigurator.m.
|
private |
|
static |
CONFIGURE performs log4j configuration.
|
staticvirtual |
Reimplemented from mxberry::log::log4j::Log4jConfigurator.
Constant Property mxberry::test::log::Log4jConfigurator::CHILD_LOG_FILE_NAME_PREFIX ='child' |
Definition at line 18 of file Log4jConfigurator.m.
Constant Property mxberry::test::log::Log4jConfigurator::CONF_REPO_MGR_CLASS ='mxberry.test.conf.AdaptiveConfRepoManager' |
Definition at line 38 of file Log4jConfigurator.m.
Constant Property mxberry::test::log::Log4jConfigurator::LOG_FILE_EXT =sprintf |
Definition at line 20 of file Log4jConfigurator.m.
Constant Property mxberry::test::log::Log4jConfigurator::MAIN_LOG_FILE_PREFIX ='main.' |
Definition at line 22 of file Log4jConfigurator.m.
Constant Property mxberry::test::log::Log4jConfigurator::MASTER_LOG_FILE_NAME ='master' |
Definition at line 16 of file Log4jConfigurator.m.
Constant Property mxberry::test::log::Log4jConfigurator::SP_CUR_PROCESS_NAME ='mxberry.testrunner.log4j.curProcessName' |
Definition at line 29 of file Log4jConfigurator.m.
Constant Property mxberry::test::log::Log4jConfigurator::SP_LOG_DIR_WITH_SEP ='mxberry.testrunner.log4j.logfile.dirwithsep' |
Definition at line 32 of file Log4jConfigurator.m.
Constant Property mxberry::test::log::Log4jConfigurator::SP_LOG_FILE_EXP ='mxberry.testrunner.log4j.logfile.ext' |
Definition at line 35 of file Log4jConfigurator.m.
Constant Property mxberry::test::log::Log4jConfigurator::SP_MAIN_LOG_FILE_NAME ='mxberry.testrunner.log4j.logfile.main.name' |
Definition at line 26 of file Log4jConfigurator.m.