logging for dev, test and prod