You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2008/07/03 21:50:24 UTC

DO NOT REPLY [Bug 39691] DBAppender doesn't log long events

https://issues.apache.org/bugzilla/show_bug.cgi?id=39691





--- Comment #2 from Thorbjørn Ravn Andersen <th...@gmail.com>  2008-07-03 12:50:23 PST ---
(In reply to comment #1)
> Truncation should be the resposibility of the appender, since it has the domain
> knowledge on the length to trim at.

It should be expected that the logger logs as much as it can of the data it
gets, so I disagree with this.

The suggested code contains magical constants - 3800, 254 and 230 - which
should be better documented.  Best would be if the creation scripts use the
same values to create the needed tables, otherwise they may get out of
synchronization later.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org