Changes between Version 20 and Version 21 of WikiStart


Ignore:
Timestamp:
07/27/21 14:25:03 (3 years ago)
Author:
Wouter Pasman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v20 v21  
    125125
    126126=== Logging
    127 Logs are written to a file named RandomParty.log (replace RandomParty with your main class name) in the current working directory of the JVM (normally the directory from where you start up the tomcat server).
     127The log file name can be set by the party in its constructor. If it uses the default (None), then the party main class name is used as log filename, and {{{.log}}} as extension.
     128
     129So assuming your party main class is RandomParty, Logs are written to a file named RandomParty.log in the current working directory of the JVM (normally the directory from where you start up the tomcat server).
    128130
    129131=== Throwing exceptions