Adds logging to login and initialization processes
Sets logging to append mode