public class SimpleJDKLoggingHook extends java.lang.Object implements InitServerHook
SimpleLoggingHook - may be used to setup quick logging for a server.
This will write log usingSimpleTextFormatter to
log\<ServerName>_%u%g.txt with maximum of 20 rolling files,
each of 1MB.
-Dorg.quickserver.util.logging.SimpleJDKLoggingHook.Level=FINE may
be used to control the logging level to file.
-Dorg.quickserver.util.logging.SimpleJDKLoggingHook.Count=100 may
be used to control the number of files to use.| Constructor and Description |
|---|
SimpleJDKLoggingHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleInit(QuickServer quickserver)
Method called to perform any initialisation
|
java.lang.String |
info()
Information about the server hook.
|
public java.lang.String info()
InitServerHookinfo in interface InitServerHookpublic void handleInit(QuickServer quickserver) throws java.lang.Exception
InitServerHookhandleInit in interface InitServerHookquickserver - is the server to which hook belongs to.java.lang.ExceptionCopyright © 2003-2014 QuickServer.org