Fixed node-webkit logging fail