Using Metamod to control LogD function.LogD is a Metamod plugin. Metamod creates an interface between the server and client DLLs. It also provides other functionality, such as the ability to pause the client DLLs (as long as they have a Metamod interface.) The most useful Metamod function for use with LogD is the ability to pause the plugin. To use this you type "meta pause LogD" at the HLDS console (without the quotes). This will pause LogD, which means no more log parsing until it is un-paused or the server changes maps. This is useful if you find yourself in a situation where you wish to suspend the activities performed by LogD temporarily without restarting the server. LogD can then be reactivated by using the command "meta unpause LogD" without the quotes at the server console. There are a number of other Metamod commands that can be used. To see the Metamod command list type "meta" at the console then hit return to see the full list of options and their uses.
Example of how to control LogD.I have started my server and i want to check that LogD is running. To do this i use the "meta list" command.
The list includes logd_mm.dll as entry number 4. Now, I've decided i want to pause it for some reason. I’ll use meta pause.
I'll use the name to keep things clear. I’ll type "meta pause logd_mm".
It is now paused and will take no action. You can view this by using "meta list" again.
Note that Log Deamon's status is listed as PAUS which is short for paused. To un-pause it I’ll use "meta unpause logd_mm" at the console.
Metamod also has other capabilities that allow you to customise your use of it's plugins. Rather than cover that all here, we suggest you read the Metamod information. Tinker with it a bit to see what you can find and use.
|