[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Q2 Server logging



On Fri, 4 Sep 1998, Chris wrote:

> 
> 
> Hi all,
> 
> I run a q2 server under linux, and I'm having trouble getting a log file
> of the server output....
> 
> I'm trying to redirect output to a file, using a command such as:
> 
> ./quake2 +set dedicated 1 +exec server.cfg > /tmp/serverout
> 
> But when I try this, /tmp/serverout is just an empty file (even though no
> messages appear on stdout).  It seems that the quake2 binary detects when
> it's output is being redirected and stops sending any :(.
> 
> Is there a better way to get a log of the console output?
> 
> Also, if somebody could confirm/deny this problem, it would be great if you
> could let me know.

I havent tried that, maybe you could use script? I think that is its
name.. Anyway, I am nowhere near guru status on pipes/redirs etc, but isnt
there a '&' and '2' that can be used...??? someone?

                       Michael Beattie (mickyb@es.co.nz)

               PGP Key available, reply with "pgpkey" as subject.
 -----------------------------------------------------------------------------
                   I've got places to go... People to annoy.
 -----------------------------------------------------------------------------
                Debian GNU/Linux....  Ooohh You are missing out!



Reply to: