temp solution to solve logging to file