Adds logging messages