Hi, I want to attach my own logger, which would typically write something in a file after every processor. I have various xpl files which contains varying number of processors. After execution of each processor i want to write a processor which would write to a file at static location. say "x processor executed". in this way i would come to know exactly which processor is causing problem. How do I go about it? |
Administrator
|
You could simply use the @debug attribute on p:input or p:output. This
will log results. E.g: <p:processor ...> ... <p:output ... debug="output1"/> </p:processor> You can even write your own debug processor: http://www.orbeon.com/ops/doc/processors-other#debug-processor -Erik On Mar 28, 2008, at 4:18 AM, adev wrote: > > > Hi, > > I want to attach my own logger, which would typically write > something in a > file after every processor. > > I have various xpl files which contains varying number of processors. > After execution of each processor i want to write a processor which > would > write to a file at static location. say "x processor executed". in > this way > i would come to know exactly which processor is causing problem. > How do I go about it? > -- > View this message in context: http://www.nabble.com/adding-my-own-logger-tp16349321p16349321.html > Sent from the ObjectWeb OPS - Users mailing list archive at > Nabble.com. Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
This post was updated on .
Thanks Erik,
I used the debug attribute on p:input and p:output and could see the result in the tomcat log. But there is another problem... my input and output values are large XML documents. Logging them increases the size of log file huge proportions. What I would like to have is a way where in my own statements such as "processor x executed" could be displayed in the log once the specific processor is executed. Is it possible? Thanks in advance
|
Administrator
|
It is possible if you write your own debug processor, yes.
Out of the box, we don't have t his functionality. -Erik On Apr 2, 2008, at 5:10 AM, adev wrote: > > Thanks Erik,:-) > > I used the debug attribute on p:input and p:output and could see > the result > in the tomcat log. > But there is another problem... my input and output values are large > XML > documents. Logging them increases the size of log file huge > proportions. > > What I would like to have is a way where in my own statements such as > "processor x executed" could be displayed in the log once the specific > processor is executed. > > Is it possible? > > Thanks in advance :-) > > > > Erik Bruchez wrote: >> >> You could simply use the @debug attribute on p:input or p:output. >> This >> will log results. >> >> E.g: >> >> <p:processor ...> >> ... >> <p:output ... debug="output1"/> >> </p:processor> >> >> You can even write your own debug processor: >> >> http://www.orbeon.com/ops/doc/processors-other#debug-processor >> >> -Erik >> >> On Mar 28, 2008, at 4:18 AM, adev wrote: >> >>> >>> >>> Hi, >>> >>> I want to attach my own logger, which would typically write >>> something in a >>> file after every processor. >>> >>> I have various xpl files which contains varying number of >>> processors. >>> After execution of each processor i want to write a processor which >>> would >>> write to a file at static location. say "x processor executed". in >>> this way >>> i would come to know exactly which processor is causing problem. >>> How do I go about it? >>> -- >>> View this message in context: >>> http://www.nabble.com/adding-my-own-logger-tp16349321p16349321.html >>> Sent from the ObjectWeb OPS - Users mailing list archive at >>> Nabble.com. >> >> -- >> Orbeon Forms - Web Forms for the Enterprise Done the Right Way >> http://www.orbeon.com/ >> >> >> >> -- >> You receive this message as a subscriber of the [hidden email] >> mailing >> list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> > > -- > View this message in context: http://www.nabble.com/adding-my-own-logger-tp16349321p16446894.html > Sent from the ObjectWeb OPS - Users mailing list archive at > Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |