Package games.stendhal.server.script
Class Log4J
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.Log4J
- All Implemented Interfaces:
Script
Script to change log level of certain loggers at runtime
Parameters:
1. full qualified class name where the logger is used
2. log level as defined by log4j
- INFO
- DEBUG
- WARN
- ERROR
- FATAL
- OFF
- TRACE
- ALL
For log level names see also the log4j documentation
- Author:
- madmetzger
-
Field Summary
Fields inherited from class games.stendhal.server.core.scripting.ScriptImpl
sandbox
-
Constructor Summary
-
Method Summary
Methods inherited from class games.stendhal.server.core.scripting.ScriptImpl
load, unload
-
Constructor Details
-
Log4J
public Log4J()
-
-
Method Details
-
execute
Description copied from interface:Script
Executes this script.- Specified by:
execute
in interfaceScript
- Overrides:
execute
in classScriptImpl
- Parameters:
admin
- the admin who load it ornull
on server start.args
- the arguments the admin specified ornull
on server start.
-