Request: Ability to rename acklog.txt

Posted By: Talemon

Request: Ability to rename acklog.txt - 06/18/14 12:07

Hello,
We're spawning multiple instances of our server executable and only the first one gets to write debug output. It would be nice to be able to change the filename of the debug output.
Even better, if we could give a stream handle, we could redirect it however we'd like!

P.S: Unicode debug logs *wink*
Posted By: Ch40zzC0d3r

Re: Request: Ability to rename acklog.txt - 06/18/14 16:07

You can catch the stream obj with ollydbg, gonna test that in some hours Im really busy atm.
EDIT:
Code:
100208F0 //diag("") routine start
1020A970 //stream pointer

Posted By: jcl

Re: Request: Ability to rename acklog.txt - 06/19/14 06:17

We'll implement a command line option for the log file name in a future version.
Posted By: Talemon

Re: Request: Ability to rename acklog.txt - 06/19/14 12:19

Originally Posted By: jcl
We'll implement a command line option for the log file name in a future version.
Originally Posted By: Ch40zzC0d3r
You can catch the stream obj with ollydbg, gonna test that in some hours Im really busy atm.
EDIT:
Code:
100208F0 //diag("") routine start
1020A970 //stream pointer



Thanks to both of you!
© 2024 lite-C Forums