Ability to setLogfile and getLogfile