This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

LogDetail: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
No edit summary
m This was shipped, it's not a dev thing anymore
 
(One intermediate revision by one other user not shown)
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.


==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

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