At 02:49 PM 5/11/2004, James Stauffer wrote:
Thanks.  That should solve that stack trace size problem.  I assume then
even though the comment in the code says varchar(256) I could increase that
up to varchar(4000) if I desire.

Sure, you can increase the size of the field when you create the table if you so desire.

I would like to store a large value (actually the contents of a file) in an
MDC value.  How would you suggest that I handle that?  I actually wouldn't
care if the value was truncated at some reasonable limit.

It should not be the responsibility of the end user to worry about field sizes. At the very least, DBAppender should not barf if one of the fields has a length larger than the default limit. MySQL is reputed to perform automatic truncation when the input is larger than the allowed capacity. Some databases may choose to perform automatic enlargement of the field size. We'll have to check the behavior of PostgreSQL, Oracle and DB2 in this case.

James Stauffer


-- Ceki G�lc�

For log4j documentation consider "The complete log4j manual"
ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to