add logging to module initializer