Added some logger tricks to publish