Adding logger to modules.