From: Alejandro G. <ag...@op...> - 2014-07-07 18:29:31
|
Hola Javier, On Jun 27, 2014, at 9:15 PM, javiergf <jav...@gm...> wrote: > Hey Alejandro, many many thanks for looking into this. > I finally got it working, modifying the scripts, and yes, you can embed > third party traps into an OpenNMS trap, see this example. > > <http://opennms.530661.n2.nabble.com/file/n7587071/sample1.jpg> > > So I can know embed into OpenNMS not just OpenNMS internal events, but also > external events. Excellent! > Just one last quick question, while troubleshooting this thing, I tried to > increase the logging for scriptd to maximum, so I changed log4j2.xml > > <KeyValuePair key="scriptd" value="DEBUG" /> > > However I didn't notice any change in the output to the log file, is there > anything else I should do to get the maximum level of logging. Hmmmm, I'm still learning Log4j2 but, and I know there are some issues With the latest compilation of our master branch, I've tried with WARN for the defaultThreshold (on the DynamicThresholdFilter) and all the KeyValue pairs, except Scriptd (which has DEBUG), and I can see the DEBUG messages on scriptd.log. Alejandro. |