Fixed logging crash on Windows nodes