I am in the process of attempting to determine the best manner of feeding my client application with its necessary EL 5.0 logging information (outside of using the standard app.config file). From
details on the web (see Scenario 2: Using a Non-default Configuration Store), I have read versions proir to EL ver 5 could support this through a sample "SQL Configuration
source"... this I have learnt is not presently available for EL 5 (reference
here) but maybe only end of Nov.
My plan was to persist the XML logging config into a text field within the database, on application load, retrieve this info and update the logging config via custom configuration source.
Other option would be to use the Configuration API or newly available fluent API, build the logging config at runtime, based on instructions received from the database.
The custom configuration source appears more eloquent and cleaner though.
Are there any code samples available that could assist or point me in the right direction? The only direction I can find is a
post related to creating a file-configuration-source
1. We are shackled to Oracle DB and not SQL.
2. Logging XML instructions where going to inserted into a text field within database, so no elaborate supporting data model.
I do realise that you guys are busy and are working on this, any pointers would be appreciated