Fixed bug where wshd wouldn't properly initiate logger