local logging and toast messages