First line overwrite the second one, where at least it should report that in the log, as a warning or an error.
The configuration files are intentionally designed so that a given property can be overwritten by a later line. This is done so that include files can be used to create customer configurations.
If the property names are the same then this should happen. For example. In the following case, the second declaration of the property would be used. The first is overwritten:
In the example that you posted the property names are different, so they should both be preserved. Are you sure that the example you sent is correct?
Sorry, bad example; the one you posted is correct.
At least there should be a warning log saying that a parameter was overwritten.
I implemented a new Configuration directive for 3.6.0 which will cause the Wrapper to output information about properties whose values are overwritten. Just add the following to the top of your configuration file:
Log in to post a comment.