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
Constructors -
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:ScriptExecutes this script.- Specified by:
executein interfaceScript- Overrides:
executein classScriptImpl- Parameters:
admin- the admin who load it ornullon server start.args- the arguments the admin specified ornullon server start.
-