com.pega.pegarules.management
Class RemoteLogging

java.lang.Object
  extended by MBeanHelper
      extended by com.pega.pegarules.management.RemoteLogging

public class RemoteLogging
extends MBeanHelper


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String VERSION
           
 
Constructor Summary
RemoteLogging()
           
 
Method Summary
 java.lang.String Add(java.lang.String aHost, java.lang.String aPort, java.lang.String aFilter)
          This method adds a new remote logger to the system.
 java.lang.String getCategory()
           
 java.lang.String getMajorVersion()
           
 java.lang.String getMinorVersion()
           
 java.lang.String getName()
           
 java.lang.String ListRemoteLoggers()
          Remote loggers use the log4j socket server to stream the contents of the standard PEGA log file to the user's PC.
 java.lang.String Remove(java.lang.String aHost, java.lang.String aPort)
          This method removes the specified remote logger from the system.
 java.lang.String RemoveAll()
          This method removes all active remote loggers from the system.
 void setCategory(java.lang.String aCategory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

VERSION

public static final java.lang.String VERSION
Constructor Detail

RemoteLogging

public RemoteLogging()
Method Detail

getCategory

public java.lang.String getCategory()

setCategory

public void setCategory(java.lang.String aCategory)

getName

public java.lang.String getName()

getMajorVersion

public java.lang.String getMajorVersion()

getMinorVersion

public java.lang.String getMinorVersion()

ListRemoteLoggers

public java.lang.String ListRemoteLoggers()
Remote loggers use the log4j socket server to stream the contents of the standard PEGA log file to the user's PC. This method lists the currently-enabled remote loggers.

Since:
PRPC v5.1

RemoveAll

public java.lang.String RemoveAll()
This method removes all active remote loggers from the system.

Since:
PRPC v5.1

Remove

public java.lang.String Remove(java.lang.String aHost,
                               java.lang.String aPort)
This method removes the specified remote logger from the system.

Parameters:
aHost - The name of the computer to which the log information should be sent.
aPort - The TCP/IP port number that the log4j package on the PC will listen on. (By default, this port is 8887.)
Since:
PRPC v5.1

Add

public java.lang.String Add(java.lang.String aHost,
                            java.lang.String aPort,
                            java.lang.String aFilter)
This method adds a new remote logger to the system.

Parameters:
aHost - The name of the computer to which the log information should be sent.
aPort - The TCP/IP port number that the log4j package on the PC will listen on. (By default, this port is 8887.)
aFilter - A character string which can be used to filter the logging data.
Since:
PRPC v5.1