Depending on which version of the engine you're using you will have access to 
some or all of these:

-condebug command line parameter will do this (mentioned below)
con_logfile will dump to a specific file (and can be turned on & off).
If you're writing a mod or plugin you can write/set your own Spew function 
using tier0/dbg.h



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 1nsane
Sent: Wednesday, August 13, 2008 4:29 PM
To: Discussion of Half-Life Programming
Subject: Re: [hlcoders] Get/dump console output to file

If this is on srcds, add "-condebug" to your launch options. This will
create a file called "console.log" which will log everything. If you are
running this in developer X mode you will get all the console output logged.
However... it will log evereything to that one file, so you can get 1gb text
files it you dont rename/delete.

On Wed, Aug 13, 2008 at 6:39 PM, Chris Deegan <[EMAIL PROTECTED]> wrote:

> Not sure if this is useful, but as I used to run all of my srcds
> instances in 'screen' on Linux - very handy when you are running
> headlesss remote servers. Doing it this way you can simply spawn the
> screen with the -L switch. This will pump all text into a file called
> screenlog.0. It gets everything!
>
> I hope this helps.
>
> Chris
>
> Tiago Conceição wrote:
> > Now can i get the console output from srcds using a plugin
> > Anyway without redirecting stdout??
> >
> > or dup stdout to a file??
> >
> > thanks
> > _________________________________________________________________
> > Receba GRÁTIS as mensagens do Messenger no seu celular quando você
> estiver offline. Conheça  o MSN Mobile!
> > http://mobile.live.com/signup/signup2.aspx?lc=pt-br
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to