
Hi, I'm trying to render an XML Request/Response file using Logback, I want to log a XML request or response according to the logger level.Ex: on Error level: <OldSection> <sectionTitle>Sample Title</sectionTitle> <label> Hello Label </label> <heading>Hi </heading> <NewSection> <section> <InteractionSection> <sectionTitle>Section Title</sectionTitle> <label> Hello </label> <heading>Hi </heading> <para> ... ... </para> </InteractionSection> <section> </NewSection> </OldSection> on Debug level: <OldSection> <sectionTitle>Sample Title</sectionTitle> <label> Hello Label </label> <heading>Hi </heading> <NewSection> <section> <InteractionSection> <sectionTitle>Section Title</sectionTitle> </InteractionSection> <section> </NewSection> </OldSection> on Info level: <OldSection> <sectionTitle>Sample Title</sectionTitle> </OldSection> Any idea if I can use Logback to do that?Thanks.