Take console output to log file

Having problems with the panel? Have questions? Post here!
Post Reply
SGTGunner
Posts: 37
Joined: Sun Mar 16, 2014 8:26 am

Take console output to log file

Post by SGTGunner »

I am hoping that there is an option or a log file from the output of a game console from UGCC?

The game itself does not provide an option to dump to a log file, it opens a cmd window and displays that output.

For games that behave like this, is there an option within UGCC to capture the output of a game and redirect it to a log file?

Thanks in Advance.
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Take console output to log file

Post by Masher »

There's currently not an option and due to a technical issue can't be done. I may release a utility that will do this though.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
SGTGunner
Posts: 37
Joined: Sun Mar 16, 2014 8:26 am

Re: Take console output to log file

Post by SGTGunner »

Thanks for the reply. I will look forward to the future for the utility.

Cheers,

-SGTGunner
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: Take console output to log file

Post by Masher »

Here's the tool, it's called scrappier and I will start including it with ezugcc and manual install packages. To use you it, you'll need to modify your server settings.

http://redirect.brainless.us/UGCC/tools/scrappier.zip

Easiest thing to do would be to place scrappier.exe in the same folder as your game executable. In UGCC change the server settings to launch scrappier and then your command line would be the old executable and the command line options.

I.e.
Old server executable: c:\some\program.exe
Old command line: server map 2 ip=xxxx port=xxx etc

With scrappier
Server executable: c:\some\scrappier.exe
Command line: "c:\some\program.exe" server map 2 ip=xxxx port=xxx etc

Also set the pid file setting for the server to (example): %ServerWD%\scrappier.pid
Then you can set your console log file setting to (example): %ServerWD%\console.log

Scappier will create a log file as well that you can refer to if you run into problems. Also review the log tool in the admin menu for troubleshooting if need be.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
Post Reply