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
 stringstatic getApplicationLogFile(string pkg)

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

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

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

Set the destination of EPL log messages from the given package. A blank package is the root package.
 voidstatic 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.
 voidstatic setLogFile(string filename)

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

Reset logging for the given package to the default. A blank package is the root package.
 voidstatic unsetApplicationLogLevel(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 static 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 static 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 static 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 static 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 static 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 static setLogFile(string filename)
        
Change the file that the correlator logs to.
Parameters:
filename

unsetApplicationLogFile

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

unsetApplicationLogLevel

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