Permalink
Browse files

Clarifying an issue about wrapping in AsyncAppender.

  • Loading branch information...
apetresc committed Dec 22, 2011
1 parent 148b308 commit cf3e8a040d6de9fcb93aa3f1779c7daa46f2e952
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.md
View
@@ -47,6 +47,14 @@ You can find a fully-working sample (including `log4j.properties.sample`) in
FAQ
---
+ **Do I need to wrap this appender in log4j's AsyncAppender?**
+
+ I don't think it will hurt, but it's not necessary. Even as a regular
+ appender, it uses the Async client for SNS, so your log statements won't
+ block while they get sent. It's really only the penalty for creating the
+ request object that you'll be incurring directly, which shouldn't be an
+ issue since this appender should only be used for **critical** errors.
+
**Why is my log message being truncated?**
Amazon SNS limits published messages to 64K. If your log message exceeds that

0 comments on commit cf3e8a0

Please sign in to comment.