Log: Difference between revisions
Jump to navigation
Jump to search
m categorize |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Configuration]] | [[Category:Configuration]] | ||
== Configuration Parameter: <code>log</code> == | |||
{| | Controls which events are written to the MUX logfile. You can enable multiple log options by listing them, separated by spaces. To disable an option, prefix it with `!`. | ||
| accounting | |||
| | Example: | ||
| | <pre> | ||
| all_commands | log all_commands bad_commands !shouts | ||
| | </pre> | ||
| | |||
| bad_commands | This would log all executed commands and unmatched commands, but suppress logging of `@wall`/shout messages. | ||
| | |||
| | == Log Options == | ||
| buffer_alloc | |||
| | {| class="wikitable" | ||
| | ! Option !! Description | ||
| bugs | |- | ||
| | | <code>accounting</code> || Logs each player's disconnection with an accounting record. | ||
| | |- | ||
| checkpoints | | <code>all_commands</code> || Logs every command executed. | ||
| | |- | ||
| | | <code>bad_commands</code> || Logs commands that do not match anything. | ||
|config_changes | |- | ||
| | | <code>buffer_alloc</code> || Logs memory buffer allocations and frees. | ||
| | |- | ||
| create | | <code>bugs</code> || Logs internal inconsistencies detected by the server. | ||
| | |- | ||
| | | <code>checkpoints</code> || Logs automatic database dump events. | ||
| killing | |- | ||
| | | <code>config_changes</code> || Logs uses of the [[@admin]] command. | ||
| | |- | ||
| logins | | <code>create</code> || Logs creation of new players. | ||
| | |- | ||
| | | <code>killing</code> || Logs uses of [[kill]] and [[slay]] commands. | ||
| network | |- | ||
| | | <code>logins</code> || Logs character connection events. | ||
| | |- | ||
| problems | | <code>network</code> || Logs network connection and disconnection events. | ||
| | |- | ||
| | | <code>problems</code> || Logs database-related issues. | ||
| security | |- | ||
| | | <code>security</code> || Logs security-related events. | ||
| | |- | ||
| shouts | | <code>shouts</code> || Logs use of [[@wall]] and related global shouts. | ||
| | |- | ||
| | | <code>startup</code> || Logs messages related to game startup. | ||
| startup | |- | ||
| | | <code>suspect</code> || Logs commands from [[SUSPECT]]-flagged players. | ||
| | |- | ||
| suspect | | <code>wizard</code> || Logs use of dangerous or admin-level commands such as [[@toad]]. | ||
| | |||
| | |||
| wizard | |||
| | |||
|} | |} | ||
== Related Topics == | |||
Related Topics | * [[Configuration]] | ||
* [[@admin]] | |||
* [[log_options]] |
Latest revision as of 12:06, 24 March 2025
Configuration Parameter: log
Controls which events are written to the MUX logfile. You can enable multiple log options by listing them, separated by spaces. To disable an option, prefix it with `!`.
Example:
log all_commands bad_commands !shouts
This would log all executed commands and unmatched commands, but suppress logging of `@wall`/shout messages.
Log Options
Option | Description |
---|---|
accounting |
Logs each player's disconnection with an accounting record. |
all_commands |
Logs every command executed. |
bad_commands |
Logs commands that do not match anything. |
buffer_alloc |
Logs memory buffer allocations and frees. |
bugs |
Logs internal inconsistencies detected by the server. |
checkpoints |
Logs automatic database dump events. |
config_changes |
Logs uses of the @admin command. |
create |
Logs creation of new players. |
killing |
Logs uses of kill and slay commands. |
logins |
Logs character connection events. |
network |
Logs network connection and disconnection events. |
problems |
Logs database-related issues. |
security |
Logs security-related events. |
shouts |
Logs use of @wall and related global shouts. |
startup |
Logs messages related to game startup. |
suspect |
Logs commands from SUSPECT-flagged players. |
wizard |
Logs use of dangerous or admin-level commands such as @toad. |