|
|
|
|
March 12th, 2008, 06:30 AM
|
Corporal
|
|
Join Date: Feb 2007
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
March 12th, 2008, 06:36 AM
|
|
National Security Advisor
|
|
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
|
|
Re: Event logging?
You need to enable debugging with the -ddd switch when you start Dominions, IIRC.
|
March 12th, 2008, 06:48 AM
|
Corporal
|
|
Join Date: Feb 2007
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|
March 12th, 2008, 06:50 AM
|
Corporal
|
|
Join Date: Feb 2007
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Event logging?
Ah, I see, standard output. What a mess...
|
March 12th, 2008, 06:58 AM
|
|
National Security Advisor
|
|
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
|
|
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.
|
March 12th, 2008, 09:02 AM
|
General
|
|
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
|
|
Re: Event logging?
You can redirect standard out wherever you want, so it may actually be more convenient than going to some unknown file.
|
March 12th, 2008, 09:15 AM
|
|
National Security Advisor
|
|
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
|
|
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.
|
March 12th, 2008, 10:23 AM
|
Corporal
|
|
Join Date: Feb 2007
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|