> (1) I have some properties that are optional. I need to do some > initialization of the appender based on these. I need to know when they > are set and when all of the properties have been set. It would be great > if there was a call that was made when the appender was ready to go... > That way I could put it in there. What I want to do is initialize a Que > with two different parameters. I have both set up as set's in my > appender and that all works, but I need to know when I can create the > que if those values are not there. > > It looks like it will not take appends until after the properties are > set, so I can check when the append is called, but then it will be > called for every log entry made thereafter. I can have them without > defaults and insist the user have both entries and just check when they > are set...
Have the settings set by get/set bean methods. Then override the activateOptions method to use the settings to create whatever your appender requires. That is the method that is called when the appender is "activated" to start receiving events. Is that what you are looking for? -Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]