Adding more hooks to the logging #61