Permalink
Browse files

minor edits

  • Loading branch information...
1 parent dae058d commit 7ab51f5cb95c669d153bf855bda2202e62562db4 @ceki ceki committed Nov 13, 2012
@@ -81,7 +81,7 @@ protected void postProcess(Object eventObject, OutputStream sw) {
while (tp != null) {
StackTraceElementProxy[] stepArray = tp.getStackTraceElementProxyArray();
try {
- writeHeaderLine(sw, tp, stackTracePrefix, isRootException);
+ handleThrowableFirstLine(sw, tp, stackTracePrefix, isRootException);
isRootException = false;
for (StackTraceElementProxy step : stepArray) {
StringBuilder sb = new StringBuilder();
@@ -96,7 +96,8 @@ protected void postProcess(Object eventObject, OutputStream sw) {
}
}
- private void writeHeaderLine(OutputStream sw, IThrowableProxy tp, String stackTracePrefix, boolean isRootException) throws IOException {
+ // LOGBACK-411 and LOGBACK-750
+ private void handleThrowableFirstLine(OutputStream sw, IThrowableProxy tp, String stackTracePrefix, boolean isRootException) throws IOException {
StringBuilder sb = new StringBuilder().append(stackTracePrefix);
if (!isRootException) {
@@ -43,6 +43,12 @@
followed by a dollar character. This issue was reported in <a
href="http://jira.qos.ch/browse/LOGBACK-744">LOGBACK-744</a>.</p>
+ <p><code>SyslogAppender</code> now sends out the header line of
+ stack traces. This issue was reported <a
+ href="http://jira.qos.ch/browse/LOGBACK-411">LOGBACK-411</a> and
+ separately as <a
+ href="http://jira.qos.ch/browse/LOGBACK-750">LOGBACK-750</a>.</p>
+
<p>A <code>StatusListener</code> implementing
<code>LifeCycle</code> interface was not started if specified via
the <code>logback.statusListenerClass</code> system property. This

0 comments on commit 7ab51f5

Please sign in to comment.