add a logging facility
add some logging