Skip to content
Duarte Nunes edited this page Feb 23, 2011 · 3 revisions

HOL 2

Exercise 2

  • Define a logger that writes messages to some file.
  • Use a different file on a per-request basis to avoid concurrent access.
  • Create a custom processor to log requests. The processor should output the logger instance.
  • Modify the processor to also log responses. Use the same logger instance for the whole request-response cycle.
Clone this wiki locally