Currently all web apps are deployed using seperate config files:
<!-- <import bean.... production/> -->
<import bean... development/>
This has disadvantages, even if you only need to swap out one config file, that I'm sure everyone is familiar with (wondering what just deployed without searching through XML is one of them)
I want to add Logging to my application that basically says 'RUNNING IN PRODUCTION MODE', with a description of the services deployed and what mode they are working in.
RUNNING IN PRODUCTION MODE
Client Service - Production
Messaging Service - Local
and so on...
Is this possible in Spring using a conventional deployment (putting a war on a server)? What other things do people do to manage deployments and software configurations?
If not, what other ways could you achieve something similar?