machines/towermain added file logging at debug level