This wiki is archived and useful information is being migrated to the main bzflag.org website

Difference between revisions of "LogDetail"

From BZFlagWiki
Jump to: navigation, search
(update w3th proper info and match formating to other plugin docs)
Line 9: Line 9:
 
==Usage==
 
==Usage==
 
When logDetail is loaded it will force the logged data to be output to the normal debug stream. Server owners that wish to save his to a file must use the [[Redirect|redirect or pipe]] option on the host OS.  
 
When logDetail is loaded it will force the logged data to be output to the normal debug stream. Server owners that wish to save his to a file must use the [[Redirect|redirect or pipe]] option on the host OS.  
 +
 +
==How to load the plugin==
 +
In the configuration file put:
 +
 +
* -loadplugin /path/to/logDetail.so
 +
 +
While launching [[BZFS]] the part where you declare your configuration file should look like.
 +
 +
* -conf /path/to/conf.conf > Serverlog
 +
 +
Now the logs will be saved in the same directory as your configuration file.
  
 
==History==
 
==History==
 
[[Category:Development]]
 
[[Category:Development]]
 
[[Category:Plug-Ins]]
 
[[Category:Plug-Ins]]

Revision as of 00:28, 28 June 2009

logDetail is a standard plug-in that is shipped with the source code. It allows the server owner to record nearly everything that happens on a server. logDetail is included in v2.0.6 and later releases.

Logged Items

logDetail will log the following events.

  • Join/Part with IP
  • All Chat, including Private Messages

Usage

When logDetail is loaded it will force the logged data to be output to the normal debug stream. Server owners that wish to save his to a file must use the redirect or pipe option on the host OS.

How to load the plugin

In the configuration file put:

  • -loadplugin /path/to/logDetail.so

While launching BZFS the part where you declare your configuration file should look like.

  • -conf /path/to/conf.conf > Serverlog

Now the logs will be saved in the same directory as your configuration file.

History