ISPN-4361 Use MessageLogger for the DefaultAuditLogger
Generate the component metadata file in the generated-resources directory, so that it doesn't force a recompile of the module every time.