.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Event logging? (http://forum.shrapnelgames.com/showthread.php?t=37991)

Kamamura March 12th, 2008 06:30 AM

Event logging?
 
Hello, how can I enable it? Since the last patch, strange things started to happen, like my Hefaistos-style pretender (the giant smith) started to forge the dwarven hammer, but failed two times to no particular reason and then succeded.

I would like to know what's going on in my game, I have seen some logs posted in this forum, but I cannot find a logfile anywhere among the installed files.

I run Dominions 3 v. 3.15 on Linux.

Thank you in advance.

Edi March 12th, 2008 06:36 AM

Re: Event logging?
 
You need to enable debugging with the -ddd switch when you start Dominions, IIRC.

Kamamura March 12th, 2008 06:48 AM

Re: Event logging?
 
Thank you very much. One more question, will the debug information be sent to some specific file, or to standard output, or to syslog perhaps?

Kamamura March 12th, 2008 06:50 AM

Re: Event logging?
 
Ah, I see, standard output. What a mess...

Endoperez March 12th, 2008 06:58 AM

Re: Event logging?
 
There is a log.txt file in the main Dominions 3 directory, if you're looking for a log file. I think that's what you wanted.

thejeff March 12th, 2008 09:02 AM

Re: Event logging?
 
You can redirect standard out wherever you want, so it may actually be more convenient than going to some unknown file.

Endoperez March 12th, 2008 09:15 AM

Re: Event logging?
 
I have no idea how to handle standard output, and no clear idea how I'd get it any way... I understand it'd be much easier in non-Windows system, but that's about it. I'm not sure if "what a mess" was directed towards extracting the standard input, or the generated log.

You can try different values of -ddddd to make the log more or less detailed, IIRC.

Kamamura March 12th, 2008 10:23 AM

Re: Event logging?
 
Sorry, the mess remark was about the structure and information contained. Maybe the number of "d" will trim the verbosity to desired levels.

Redirecting standard input is of course trivial

./dom3 -ddd > /var/log/dom3.log

for example.

Thank you once again


All times are GMT -4. The time now is 12:35 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.