Package ch.qos.logback.access.net
Class SimpleSocketServer
- java.lang.Object
-
- ch.qos.logback.access.net.SimpleSocketServer
-
public class SimpleSocketServer extends java.lang.Object
A simpleSocketNode
based server.<b>Usage:</b> java ch.qos.logback.access.net.SimpleSocketServer port configFile where port is a part number where the server listens and configFile is an xml configuration file fed to
JoranConfigurator
.- Since:
- 0.8.4
-
-
Field Summary
Fields Modifier and Type Field Description private static AccessContext
basicContext
(package private) static int
port
-
Constructor Summary
Constructors Constructor Description SimpleSocketServer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static void
init(java.lang.String portStr, java.lang.String configFile)
static void
main(java.lang.String[] argv)
(package private) static void
runServer()
(package private) static void
usage(java.lang.String msg)
-
-
-
Field Detail
-
port
static int port
-
basicContext
private static AccessContext basicContext
-
-
Method Detail
-
main
public static void main(java.lang.String[] argv) throws java.lang.Exception
- Throws:
java.lang.Exception
-
runServer
static void runServer()
-
usage
static void usage(java.lang.String msg)
-
init
static void init(java.lang.String portStr, java.lang.String configFile) throws JoranException
- Throws:
JoranException
-
-