Waferslim is the Python implementation of a Fitnesse server, hence its logging is based completely on standard Python logging.
To tell Waferslim that you want to use its logging capabilities, you must add at the end of the COMMAND_PATTERN variable the -l <conf_filename>
parameter. conf_filename is the name of the Python logging configuration file, whose format sort of described here.
Resulting COMMAND_PATTERN would look like this:
!define COMMAND_PATTERN { C:\python26\python.exe -m waferslim.server -i 0.0.0.0 --syspath %p -v -l C:\logging.conf }
And the sample config file:
No comments:
Post a Comment