com.ibm.ras.server
Class RASLogServer
- java.lang.Object
com.ibm.ras.server.RASLogServer
All implemented interfaces:
java.lang.Runnable
Deprecated. As of WAS 6.0, recommend using java.util.logging
- public class RASLogServer
- extends java.lang.Object
- implements java.lang.Runnable
RASLogServer works in tandem with the
RASSocketHandler class. It is run as a
Java application on a server. It binds to a socket, listening and
accepting connections from instances of RASSocketHandler.
Once a connection is established between the RASLogServer
and a client, log data is sent from the client to the
RASLogServer, where it is displayed on the console and,
optionally, written to a file.
Usage:
java com.ibm.ras.server.RASLogServer [port] [filename]The default port for the
RASLogServer process is 9991.
If filename is specified, the output is also written to
the file.
Constructor Summary
| Constructor and Description |
|---|
RASLogServer(int port,java.lang.String filename)
Deprecated. Creates a
RASLogServer.
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
main(java.lang.String[] args)
Deprecated. Main entry point for the
RASLogServer application.
|
|
run()
Deprecated. Starts the
RASLogServer on its own thread.
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
RASLogServer
- public RASLogServer(int port,
- java.lang.String filename)
Deprecated.
Parameters:
port - The port on which the RASLogServer listens. filename - The name of the file to which the log data will be
appended. If this is null, the data is
only written to the console. Method Detail
main
- public static void main(java.lang.String[] args)
Deprecated.
Main entry point for the
RASLogServer application.
run
- public void run()
Deprecated.
Starts the
RASLogServer on its own thread.
Specified by:
run in interface java.lang.Runnable
RASLogServer.