It is created to simplify the use of extra logaddresses in CS2D. With this tool, you can send the output of a CS2D server (which usually ends up in the logs, including joins/kills/saying/Lua errors/rcon usage etc.) to a different address (only if you have RCon access to the server, obviously)
Why would I use this?
CS2DLogger can turn out to be really handy if you control a server of which you cannot access the files (thus if you only have RCon access). CS2D logs are extremely useful to track for instance people abusing RCon, hackers or other people you have received complaints about, or to find out why your Lua script didn't work.
Usage:
CS2DLogger is a UDP listener (server who writes everything it receives to a text file), which stores the output of CS2D. It can be used for both CS2D servers and clients, that is, both server output and client output can be sent. In either case, use the logaddress_add command to add the IP and the port of CS2DLogger, e.g. logaddress_add 12.34.56.78:12345. CS2DLogger will then write the server output into files named by date, ordered in folders with the CS2D IP and port.
Since each IP:port combination is written into a different folder, it is no problem whatsoever to use one CS2DLogger server for multiple clients.
Too many clients at once, however, might result in connection problems or other trouble.
CS2DLogger should be invoked from the command line, using python cs2dlogger.py [OPTIONS].
Don't forget to put nohup in front on Linux servers!
Command line parameters:
1
2
3
4
5
2
3
4
5
--help: Shows the help text, --version: Shows your current CS2DLogger version, --ip: Shows CS2DLogger's IP address -port [number]: Specify a special port for CS2DLogger to use. If no port is specified, the port will default to 36990. If this port is already in use, CS2DLogger will quit.
Adding screenshots here is quite useless since it's a command-line tool and the only output are text files. For those of you who wonder what a command-line tool looks like, however, I've added a screenie of the help text.
NOTE: CS2DLogger is written in Python and can only be run on machines having Python installed. Almost all Linux distributions have Python installed by default, most Windows systems do not. I will include a Windows executable later.
Windows executable has been added.
edited 3×, last 02.02.11 06:35:08 pm
Approved by GeoB99
Download
1.44 mb, 476 Downloads