Page 1 of 1

Forwarding ET logging to address

Posted: Wed Dec 27, 2006 4:55 am
by -W0kk3L-
Is it possible to somehow forward the consolelog to an address/port? (somewhat like pb_sv_logaddr for punkbuster loggin, but now for all ET/ETPro logging). Maybe by an ETPro function or LUA script?

If it's currently not available, would someone be so kind to help me out with a script?

-W0kk3L-

Posted: Wed Dec 27, 2006 4:07 pm
by fretn
just a late night brainstorm:

write a bash script wich emails your etconsole.log, and empties the current one

put that script in your daily cron

Posted: Wed Dec 27, 2006 4:09 pm
by ReyalP
or a perl script that tails and sends it off somewhere.

But to answer your question, there is no way to do this natively with ET.

Posted: Thu Dec 28, 2006 3:33 am
by -W0kk3L-
The et logfiles are written with a buffer. If i would send it 'live' it would overload the server (since the servers are quite large and crowded). I'm really looking for some way of real-time communication. Maybe a feature-request for a new ETPro release? ;)

Posted: Thu Dec 28, 2006 1:47 pm
by ReyalP
-W0kk3L- wrote:The et logfiles are written with a buffer. If i would send it 'live' it would overload the server (since the servers are quite large and crowded). I'm really looking for some way of real-time communication. Maybe a feature-request for a new ETPro release? ;)
ETPro cannot do this, since logging is in the engine.

Your best bet is a program that reads the output like etadmin_mod and sends it off wherever you want.

Posted: Fri Jan 05, 2007 3:14 am
by Syd
ucon will give you what you are after.

http://www.evenbalance.com/index.php?page=pbucon.php