add some logging and tags to spring element factory