Can you please guide me to any examples, it would be lot quicker. Thanks, Aanjaneya
On Fri, Oct 7, 2011 at 8:28 PM, Scott Deboy <[email protected]> wrote: > Yes it is possible to modify log messages before they are sent to an > appender. Use a rewriteappender, implement you own rewritepolicy, and > include an appender-ref to the destination appender in the rewriteappender > definition along with the rewritepolicy. > > Scott > > > > On Oct 7, 2011, at 7:37 AM, aanjaneya shukla <[email protected]> > wrote: > >> Hi, >> >> To avoid log injection by newline charters, is it possible to modify >> the contents of user defined messages in the log files? I want to >> black list certain charters defined in the property file its with >> adding any code to my framework. >> >> Thanks, >> Aanjaneya. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
