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
(How to load the plugin: make the example show appending to the log file)
Line 17: Line 17:
 
While launching [[BZFS]] the part where you declare your configuration file should look like.
 
While launching [[BZFS]] the part where you declare your configuration file should look like.
  
* -conf /path/to/conf.conf > Serverlog
+
* -conf /path/to/conf.conf >> Serverlog
  
 
Now the logs will be saved in the same directory as your configuration file.
 
Now the logs will be saved in the same directory as your configuration file.

Revision as of 17:57, 16 October 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