slf4j

Can a log4j (or other Java logger) Appender accept or access request context objects?

I am currently writing a web service using Restlet, and logging with slf4j in front of log4j. Currently I have standard log4j Appenders in place for logging to files. What I was trying to do is also include log output in the HTTP Response, using a custom Appender. The issue I am seeing is that Appenders by default have no ability to...