Files

> > CS2D > Misc. > CS2DLogger
Files overviewCS2D overviewMisc. overview

English CS2DLogger >

10 comments1.44 mb, 481 Downloads

old CS2DLogger

Banaan
User Off Offline

CS2DLogger is a simple tool which listens to CS2D server output.
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 cs2d cmd 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
--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 Download

1.44 mb, 481 Downloads

Comments

10 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Heling
User Off Offline

hmm.amazing.
i'll try
I like it!

old

xSkyLordx
User Off Offline

Not working, closed when i open

old

boyzinthewoodz
User Off Offline

well its not very usefull for me alone but for my clan and some other ppl. now they can help me with my servers to catch abusers, fakers and other stuff. no rates? lol... there are many ppl who need this. i know it bc they ask me all day for logs xD. i think the name of this thread should be diffrent.
@oxy lol ban! thats what you get when you fk with banaan xD! really nobody cares if your brain is not connected to your body. i think this program is very helpfull for clans and not for ppl who never get rcon. not every single program,lua,map,...; is perfectly designed for you
I like it!
edited 1×, last 11.02.11 06:11:18 pm

old

Yates
Reviewer Off Offline

So then it's usefull..
If you say it's for lazy people then it still stays usefull..
And yes, he is right you do provoke nearly everyone -.-'

old

oxytamine
User Off Offline

I do not provoke you, at least I rarely rate files. Just leaving my opinion. I really think that it's useless program for lazy people.

old

Banaan
User Off Offline

No it doesn't. It's used for people who want the logs of their servers to be sent to another location. (Thus everything that ends up in the sys/logs folder)

oxytamine stop trying to provoke the wrong people. It's not exactly useless - try using a remote log address without a UDP listener once.

old

oxytamine
User Off Offline

Useless tool for lazy people.

old

J4x
User Off Offline

So this tool helps u to make a server? sorry for my ignorance...

old

Banaan
User Off Offline

On linux, open your console, cd to the directory you extracted the script in and write python cs2dlogger.py.
If you have windows, you should make sure you have Python installed (or wait until I made the executable), open cmd.exe, cd to the directory you extracted the script in and type python cs2dlogger.py.

old

loldlold123
User Off Offline

how to use it really i dont have good english can you say basic?
To the start Previous 1 Next To the start