DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40472>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40472 Summary: SettingsManager calls loadSettings with global settings for Profilables Product: Log4j Version: unspecified Platform: All OS/Version: other Status: NEW Severity: normal Priority: P2 Component: chainsaw AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] The chainsaw SettingsManager calls loadSettings(LoadSettingsEvent event) for classes implementing the Profilable interfaces from the loadGlobalSettings() method. For these classes this isn't very useful, since at this time the LoadSettingsEvent doesn't contain profilable properties (they are loaded afterwards, in loadProfilableSettings(). Effectively, for classes implementing Profilable the loadSettings(LoadSettingsEvent event) method gets called twice: - one time with global settings (which don't contain the needed properties, since Profilables need settings from the respective ~/.chainsaw/ <profilable>.properties file) - a second time with global settings merged with properties gathered from the specific property-file in the ~/.chainsaw directory, now containing the needed properties IMHO for Profilables the loadSettings(LoadSettingsEvent event) should be called only in the second call (where both global and specific properties are merged) -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
