switched to use a file logger