Trying to fix logging..