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)
m (This was shipped, it's not a dev thing anymore)
 
Line 22: Line 22:
  
 
==History==
 
==History==
[[Category:Development]]
+
 
 
[[Category:Plug-Ins]]
 
[[Category:Plug-Ins]]

Latest revision as of 08:29, 10 February 2013

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[edit]

logDetail will log the following events.

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

Usage[edit]

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[edit]

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[edit]