Joey_Seekata
18 years agoNew Contributor
Log4j and extending the HtmlLayout layout class
I think this is really about hooking in java code in general, but my specific need is to extend HTMLLayout (org.apache.log4j.HTMLLayout). In the version of log4j that comes with SOAPui, the output from HTMLLayout is fixed (HTMLLayout does not derive from PatternLayout and therefore does not accept an ConversionPattern).
If I were to extend HTMLLayout in java, can I hook that code into SOAPui? For example, I currently have this in soapui-log4j.xml:
What I would like to do is (for example):
Where would I put the jar file that contains com.company.project.MyHtmlLayout such that SOAPui will load it up at startup?
Thanks for your attention to this matter.
Joey
If I were to extend HTMLLayout in java, can I hook that code into SOAPui? For example, I currently have this in soapui-log4j.xml:
What I would like to do is (for example):
Where would I put the jar file that contains com.company.project.MyHtmlLayout such that SOAPui will load it up at startup?
Thanks for your attention to this matter.
Joey