Apply same fix issued in JDF pull 416: logging-tool fixes