TRUNK-3889. Pickup module resources from module api

Deprecate log4j setter/getter in Module