small fix: made logging a one liner because of multiple threads logging stuff...