centralised logging setup in utils so I don't have to write it over and over