logging is now functional