refactor, temp-disable logging file to debug