change way to logfiles