tomcat::instance: add parameter for logs folder mode