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 2007/01/29 21:54:34 UTC
DO NOT REPLY [Bug 39691] - DBAppender doesn't log long events
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=39691>.
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=39691
genman@noderunner.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
------- Additional Comments From genman@noderunner.net 2007-01-29 12:54 -------
Truncation should be the resposibility of the appender, since it has the domain
knowledge on the length to trim at.
It also appears that the stack trace is now in separate table rows.
Although trimming can be done in other places, I'm thinking of adding a
setMaxMessageLength
or
setMaxRenderedMessageLength
to DBAppender and truncating using this value. By default, no truncation would
be done.
--
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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org