add two fields to config

* allow to run without in production mode
* allow to change logpath