Forwarding ET logging to address

Discussion for Admins of ETPro/BayonET servers.
If you don't run a server, please don't post here...

Moderators: Forum moderators, developers

Post Reply
-W0kk3L-
Posts: 46
Joined: Sun Jun 20, 2004 12:28 pm

Forwarding ET logging to address

Post 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-
Game on at CREW-NEXUS... running more than 25 gameservers @ 100mbit! Visit: http://www.crew-nexus.net/servers for connection info!!!
User avatar
fretn
Posts: 341
Joined: Sun Jul 27, 2003 4:35 am
Location: Belgium!

Post 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
Day by day : http://w.twwwo.be/
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post 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.
send lawyers, guns and money
-W0kk3L-
Posts: 46
Joined: Sun Jun 20, 2004 12:28 pm

Post 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? ;)
Game on at CREW-NEXUS... running more than 25 gameservers @ 100mbit! Visit: http://www.crew-nexus.net/servers for connection info!!!
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post 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.
send lawyers, guns and money
Syd
Posts: 7
Joined: Tue Oct 25, 2005 6:22 am

Post by Syd »

ucon will give you what you are after.

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