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
m (This was shipped, it's not a dev thing anymore)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
logDetail is a plugin that allows the server owner to record everything that happens on a server. For example the plugin will record when Allejo joins the server with IP 12.345.67.89 and when Allejo leaves. The plugin will also record all the conversations including private messages.
+
logDetail is a standard [[Plug-ins|plug-in]] that is shipped with the [[BZFlag Source|source code]]. It allows the server owner to record nearly everything that happens on a server. logDetail is included in [[BZFlag 2.0.6|v2.0.6]] and later releases.
  
 +
==Logged Items==
 +
logDetail will log the following events.
  
To load this plugin in the config file put
+
* Join/Part with IP
 +
* All Chat, including Private Messages
  
----
+
==Usage==
-loadplugin /path/to/logDetail
+
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
  
When you run bzfs do the following to avoid the plugin output going in the terminal or command prompt window.
+
While launching [[BZFS]] the part where you declare your configuration file should look like.
  
----
+
* -conf /path/to/conf.conf >> Serverlog
bzfs -conf configfile.conf > Log
+
  
----
+
Now the logs will be saved in the same directory as your configuration file.
  
Now the plugin will export all the recorded information will be put in the file called "Log". The "Log" file will be placed in the same directory as the configuration file just so you may be able to find it.
+
==History==
 +
 
 +
[[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]