com.apama.correlator
Event Logging


EPL interface to correlator logging functionality. All methods on this interface are identical to the equivalent engine_management requests, which are described in more detail in the user documentation.
Action Summary
 stringgetApplicationLogFile(string pkg)

Return the destination file for EPL log messages from the given package. A blank package is the root package.
 stringgetApplicationLogLevel(string pkg)

Return the log level threshold of EPL log messages from the given package. A blank package is the root package.
 voidrotateLogs()

Schedule simultaneous rotation of all correlator logs, including application logs and the input log. The rotation will happen shortly after this call.
 voidsetApplicationLogFile(string pkg, string filename)

Set the destination of EPL log messages from the given package. A blank package is the root package.
 voidsetApplicationLogLevel(string pkg, string level)

Set the log level threshold of EPL log messages from the given package. A blank package is the root package.
 voidsetLogFile(string filename)

Change the file that the correlator logs to.
 voidunsetApplicationLogFile(string pkg)

Reset logging for the given package to the default. A blank package is the root package.
 voidunsetApplicationLogLevel(string pkg)

Remove the log level from the given package, returning it to default. A blank package is the root package.
 
Action Detail

getApplicationLogFile

string getApplicationLogFile(string pkg)
Return the destination file for EPL log messages from the given package. A blank package is the root package.
Parameters:
pkg

getApplicationLogLevel

string getApplicationLogLevel(string pkg)
Return the log level threshold of EPL log messages from the given package. A blank package is the root package.
Parameters:
pkg

rotateLogs

void rotateLogs()
Schedule simultaneous rotation of all correlator logs, including application logs and the input log. The rotation will happen shortly after this call.

setApplicationLogFile

void setApplicationLogFile(string pkg, string filename)
Set the destination of EPL log messages from the given package. A blank package is the root package.
Parameters:
pkg
filename

setApplicationLogLevel

void setApplicationLogLevel(string pkg, string level)
Set the log level threshold of EPL log messages from the given package. A blank package is the root package.
Parameters:
pkg
level

setLogFile

void setLogFile(string filename)
Change the file that the correlator logs to.
Parameters:
filename

unsetApplicationLogFile

void unsetApplicationLogFile(string pkg)
Reset logging for the given package to the default. A blank package is the root package.
Parameters:
pkg

unsetApplicationLogLevel

void unsetApplicationLogLevel(string pkg)
Remove the log level from the given package, returning it to default. A blank package is the root package.
Parameters:
pkg