added logging library
add logging to plugins too