What have others done to get around the fact that the Commons Logging project (for both .NET and Java) do not support Mapped or Nested Diagnostic Contexts as far as I know?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For the sake of completeness, I ended up writing my own very simple generic interface:
then implemented a Log4Net specific version:
I then used an IoC container (Spring.Net) to bring in the correct implementation. If a different logging framework was later required it’d be a simple matter of writing a different implementation of that interface changing the IoC configuration.