Re: associating message parts (from layouted message) to database columns


[ Antworten ] [ Ihre Antwort ] [ Forum www.mannhaupt.com ]

Abgeschickt von Danko am 01 April, 2004 um 15:06:24:

Antwort auf: Re: associating message parts (from layouted message) to database columns von Wolfgang am 01 April, 2004 um 11:58:07:

You can download the latest distribution. log4j.properties (http://www.mannhaupt.com/danko/projects/jdbcappender/src/org/apache/log4j/jdbcplus/examples/test/log4j.properties) contains an example.

I do not do the layouting by myself, it is done by the PatternLayout, which is currently fixed. Because I do not have your layout class and example, I am not able to provide any implementation to support it. I would need a Layout class that is able to process %m{JOB_ID).

Regards,
Danko

PS. Please e-mail directly if possible, this forum is not ideal for such a discussion.

: If I understand your solution right, your appender
: does the layouting by itself? I think this is not good from the architectural point of view (i.e. one instance is responsible for layouting), but it would work without deriving a more specialized layout. I'm principally interested in using your appender, so do you serve a configuration in your download package, which uses this new feature - I can analyze? Also you told, not to support my solution, it might be possible to combine both?

: Regards,
: Wolfgang

: : I am sorry for not answering initially.

: : I do not think I will use your solution, because I implemented a different solution using wildcards @LAYOUT_1@, @LAYOUT_2@, @LAYOUT_3@ and keys layout1, 2, 3. That should solve most common problems with different columns and layouts.



Antworten:



Ihre Antwort

Name:
E-Mail:

Subject:

Text:

Optionale URL:
Link Titel:
Optionale Bild-URL:


[ Antworten ] [ Ihre Antwort ] [ Forum www.mannhaupt.com ]