Log files

From VCMI Project Wiki
Revision as of 15:27, 12 April 2013 by Beegee (talk | contribs) (Created page with "= Where are the log files = Log files are written to: * Windows: Same as your Heroes III location * UNIX: ~./vcmi There is a log file named <tt>VCMI_Client_log.txt</tt> for t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Where are the log files

Log files are written to:

  • Windows: Same as your Heroes III location
  • UNIX: ~./vcmi

There is a log file named VCMI_Client_log.txt for the client executable and a log file named VCMI_Server_log.txt for the server executable.

How to set the log level to debug

If you want to set the log level to debug or trace to let developers know what went wrong or to write a bug report, then you should first open your settings.json with a text editor. The file is located at:

  • Windows: Heroes III location/config
  • UNIX: ~./vcmi/config

Add the "logging" : { ... } part to the file, that it may look like this:

{
    "logging" : {
        "loggers" : [
            {
                "domain" : "global",
                "level" : "debug"
            }
        ]
    }
}

You can substitute the value debug with trace to log traces as well.