Where is Debug Processor Log

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Where is Debug Processor Log

Xin-4
Hi All,

Sorry for this simple question, but I just can't find any output of the
Debug Processor:

    <p:processor name="oxf:debug">
        <p:input name="config">
            <config>Employee</config>
        </p:input>
        <p:input name="data">
            <employee>
                <firstname>John</firstname>
                <lastname>Smith</lastname>
            </employee>
        </p:input>
        <p:output name="data" id="emp"/>
    </p:processor>

I search tomcat log standdard output file, I can't find any "Employee.....".
reason1: This processor is not running?? I pretty sure I execute it. Is
there any other place I need to set to enable the Debug?
reason2: The debug output message is not in Tomcat log file?? Then where
is it?

Thanks a lot!
xin



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Where is Debug Processor Log

Erik Bruchez
Administrator
Xin,

You usually don't use the debug processor directly: instead, you use the
"debug" attribute on p:input, p:output or p:param, e.g.:

<p:input name="..." href="..." debug="my-input">

The result goes to wherever the Orbeon Forms logs go, which is specified
by config/log4j.xml. By default, this goes to the Tomcat console output
(typically available under Tomcat's catalina.out) and to a file called
ops.log.

-Erik

Xin Chen wrote:

> Hi All,
>
> Sorry for this simple question, but I just can't find any output of the
> Debug Processor:
>
>    <p:processor name="oxf:debug">
>        <p:input name="config">
>            <config>Employee</config>
>        </p:input>
>        <p:input name="data">
>            <employee>
>                <firstname>John</firstname>
>                <lastname>Smith</lastname>
>            </employee>
>        </p:input>
>        <p:output name="data" id="emp"/>
>    </p:processor>
>
> I search tomcat log standdard output file, I can't find any
> "Employee.....".
> reason1: This processor is not running?? I pretty sure I execute it. Is
> there any other place I need to set to enable the Debug?
> reason2: The debug output message is not in Tomcat log file?? Then where
> is it?
>
> Thanks a lot!
> xin
>

--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Where is Debug Processor Log

Suganda
i already follow that procedure
but i cant find that file called "ops.log" in my jboss

how do i find that file ?

thanks
ganda:)

Erik Bruchez wrote
Xin,

You usually don't use the debug processor directly: instead, you use the
"debug" attribute on p:input, p:output or p:param, e.g.:

<p:input name="..." href="..." debug="my-input">

The result goes to wherever the Orbeon Forms logs go, which is specified
by config/log4j.xml. By default, this goes to the Tomcat console output
(typically available under Tomcat's catalina.out) and to a file called
ops.log.

-Erik

Xin Chen wrote:
> Hi All,
>
> Sorry for this simple question, but I just can't find any output of the
> Debug Processor:
>
>    <p:processor name="oxf:debug">
>        <p:input name="config">
>            <config>Employee</config>
>        </p:input>
>        <p:input name="data">
>            <employee>
>                <firstname>John</firstname>
>                <lastname>Smith</lastname>
>            </employee>
>        </p:input>
>        <p:output name="data" id="emp"/>
>    </p:processor>
>
> I search tomcat log standdard output file, I can't find any
> "Employee.....".
> reason1: This processor is not running?? I pretty sure I execute it. Is
> there any other place I need to set to enable the Debug?
> reason2: The debug output message is not in Tomcat log file?? Then where
> is it?
>
> Thanks a lot!
> xin
>


--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the ops-users@objectweb.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Where is Debug Processor Log

Hank Ratzesberger

I have had to hunt down the log file also, and sometimes found it in
the tomcat bin directory.

But you should check your WEB-INF/resources/config/log4j.xml
file to see which logger class is enabled and for what.  Some of
the OXF sub-systems are commented out  like:

     <!--<category  
name="org.orbeon.oxf.xforms.processor.XFormsServer">-->
         <!--<priority value="debug"/>-->
     <!--</category>-->

  --Hank Ratzesberger
UCSB


On Sep 19, 2007, at 2:38 AM, Suganda wrote:

>
> i already follow that procedure
> but i cant find that file called "ops.log" in my jboss
>
> how do i find that file ?
>
> thanks
> ganda:)
>
>
> Erik Bruchez wrote:
>>
>> Xin,
>>
>> You usually don't use the debug processor directly: instead, you  
>> use the
>> "debug" attribute on p:input, p:output or p:param, e.g.:
>>
>> <p:input name="..." href="..." debug="my-input">
>>
>> The result goes to wherever the Orbeon Forms logs go, which is  
>> specified
>> by config/log4j.xml. By default, this goes to the Tomcat console  
>> output
>> (typically available under Tomcat's catalina.out) and to a file  
>> called
>> ops.log.
>>
>> -Erik
>>
>> Xin Chen wrote:
>>> Hi All,
>>>
>>> Sorry for this simple question, but I just can't find any output  
>>> of the
>>> Debug Processor:
>>>
>>>    <p:processor name="oxf:debug">
>>>        <p:input name="config">
>>>            <config>Employee</config>
>>>        </p:input>
>>>        <p:input name="data">
>>>            <employee>
>>>                <firstname>John</firstname>
>>>                <lastname>Smith</lastname>
>>>            </employee>
>>>        </p:input>
>>>        <p:output name="data" id="emp"/>
>>>    </p:processor>
>>>
>>> I search tomcat log standdard output file, I can't find any
>>> "Employee.....".
>>> reason1: This processor is not running?? I pretty sure I execute  
>>> it. Is
>>> there any other place I need to set to enable the Debug?
>>> reason2: The debug output message is not in Tomcat log file??  
>>> Then where
>>> is it?
>>>
>>> Thanks a lot!
>>> xin
>>>
>>
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>>
>> --
>> You receive this message as a subscriber of the ops-
>> [hidden email]
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> ObjectWeb mailing lists service home page: http://
>> www.objectweb.org/wws
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Where-is-Debug- 
> Processor-Log-tf4478655.html#a12773941
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
>
> --
> You receive this message as a subscriber of the ops-
> [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Where is Debug Processor Log

Erik Bruchez
Administrator
In reply to this post by Suganda
In doubt, modify config/log4j.xml, and instead of ../logs/ops.log, enter
an absolute path to a location you know.

-Erik

Suganda wrote:

> i already follow that procedure
> but i cant find that file called "ops.log" in my jboss
>
> how do i find that file ?
>
> thanks
> ganda:)
>
>
> Erik Bruchez wrote:
>> Xin,
>>
>> You usually don't use the debug processor directly: instead, you use the
>> "debug" attribute on p:input, p:output or p:param, e.g.:
>>
>> <p:input name="..." href="..." debug="my-input">
>>
>> The result goes to wherever the Orbeon Forms logs go, which is specified
>> by config/log4j.xml. By default, this goes to the Tomcat console output
>> (typically available under Tomcat's catalina.out) and to a file called
>> ops.log.
>>
>> -Erik
>>
>> Xin Chen wrote:
>>> Hi All,
>>>
>>> Sorry for this simple question, but I just can't find any output of the
>>> Debug Processor:
>>>
>>>    <p:processor name="oxf:debug">
>>>        <p:input name="config">
>>>            <config>Employee</config>
>>>        </p:input>
>>>        <p:input name="data">
>>>            <employee>
>>>                <firstname>John</firstname>
>>>                <lastname>Smith</lastname>
>>>            </employee>
>>>        </p:input>
>>>        <p:output name="data" id="emp"/>
>>>    </p:processor>
>>>
>>> I search tomcat log standdard output file, I can't find any
>>> "Employee.....".
>>> reason1: This processor is not running?? I pretty sure I execute it. Is
>>> there any other place I need to set to enable the Debug?
>>> reason2: The debug output message is not in Tomcat log file?? Then where
>>> is it?
>>>
>>> Thanks a lot!
>>> xin
>>>
>>
>> --
>> 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
>> ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Where is Debug Processor Log

Xin-4
I finally get the log file generated!
It turns out we need to comment out *some line*s to enable the log.
Thank you guys very much. Debug is very important to me.

Cheers!
xin

Erik Bruchez wrote:

> In doubt, modify config/log4j.xml, and instead of ../logs/ops.log,
> enter an absolute path to a location you know.
>
> -Erik
>
> Suganda wrote:
>
>> i already follow that procedure but i cant find that file called
>> "ops.log" in my jboss
>> how do i find that file ?
>>
>> thanks
>> ganda:)
>>
>>
>> Erik Bruchez wrote:
>>
>>> Xin,
>>>
>>> You usually don't use the debug processor directly: instead, you use
>>> the "debug" attribute on p:input, p:output or p:param, e.g.:
>>>
>>> <p:input name="..." href="..." debug="my-input">
>>>
>>> The result goes to wherever the Orbeon Forms logs go, which is
>>> specified by config/log4j.xml. By default, this goes to the Tomcat
>>> console output (typically available under Tomcat's catalina.out) and
>>> to a file called ops.log.
>>>
>>> -Erik
>>>
>>> Xin Chen wrote:
>>>
>>>> Hi All,
>>>>
>>>> Sorry for this simple question, but I just can't find any output of
>>>> the Debug Processor:
>>>>
>>>>    <p:processor name="oxf:debug">
>>>>        <p:input name="config">
>>>>            <config>Employee</config>
>>>>        </p:input>
>>>>        <p:input name="data">
>>>>            <employee>
>>>>                <firstname>John</firstname>
>>>>                <lastname>Smith</lastname>
>>>>            </employee>
>>>>        </p:input>
>>>>        <p:output name="data" id="emp"/>
>>>>    </p:processor>
>>>>
>>>> I search tomcat log standdard output file, I can't find any
>>>> "Employee.....".
>>>> reason1: This processor is not running?? I pretty sure I execute
>>>> it. Is there any other place I need to set to enable the Debug?
>>>> reason2: The debug output message is not in Tomcat log file?? Then
>>>> where is it?
>>>>
>>>> Thanks a lot!
>>>> xin
>>>>
>>>
>>> --
>>> 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
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>>
>>>
>>
>
>
>------------------------------------------------------------------------
>
>
>--
>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
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  
>



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Where is Debug Processor Log

Suganda
Hi all ,
i still dont get that log file generated

which lines that must be commented out to enable the log ( ops.log )
../log/ops.log --> where is this path ?

thanks,
suganda:)

xin wrote
I finally get the log file generated!
It turns out we need to comment out *some line*s to enable the log.
Thank you guys very much. Debug is very important to me.

Cheers!
xin

Erik Bruchez wrote:

> In doubt, modify config/log4j.xml, and instead of ../logs/ops.log,
> enter an absolute path to a location you know.
>
> -Erik
>
> Suganda wrote:
>
>> i already follow that procedure but i cant find that file called
>> "ops.log" in my jboss
>> how do i find that file ?
>>
>> thanks
>> ganda:)
>>
>>
>> Erik Bruchez wrote:
>>
>>> Xin,
>>>
>>> You usually don't use the debug processor directly: instead, you use
>>> the "debug" attribute on p:input, p:output or p:param, e.g.:
>>>
>>> <p:input name="..." href="..." debug="my-input">
>>>
>>> The result goes to wherever the Orbeon Forms logs go, which is
>>> specified by config/log4j.xml. By default, this goes to the Tomcat
>>> console output (typically available under Tomcat's catalina.out) and
>>> to a file called ops.log.
>>>
>>> -Erik
>>>
>>> Xin Chen wrote:
>>>
>>>> Hi All,
>>>>
>>>> Sorry for this simple question, but I just can't find any output of
>>>> the Debug Processor:
>>>>
>>>>    <p:processor name="oxf:debug">
>>>>        <p:input name="config">
>>>>            <config>Employee</config>
>>>>        </p:input>
>>>>        <p:input name="data">
>>>>            <employee>
>>>>                <firstname>John</firstname>
>>>>                <lastname>Smith</lastname>
>>>>            </employee>
>>>>        </p:input>
>>>>        <p:output name="data" id="emp"/>
>>>>    </p:processor>
>>>>
>>>> I search tomcat log standdard output file, I can't find any
>>>> "Employee.....".
>>>> reason1: This processor is not running?? I pretty sure I execute
>>>> it. Is there any other place I need to set to enable the Debug?
>>>> reason2: The debug output message is not in Tomcat log file?? Then
>>>> where is it?
>>>>
>>>> Thanks a lot!
>>>> xin
>>>>
>>>
>>> --
>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>> http://www.orbeon.com/
>>>
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the ops-users@objectweb.org
>>> mailing list.
>>> To unsubscribe: mailto:ops-users-unsubscribe@objectweb.org
>>> For general help: mailto:sympa@objectweb.org?subject=help
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>>
>>>
>>
>
>
>------------------------------------------------------------------------
>
>
>--
>You receive this message as a subscriber of the ops-users@objectweb.org mailing list.
>To unsubscribe: mailto:ops-users-unsubscribe@objectweb.org
>For general help: mailto:sympa@objectweb.org?subject=help
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  
>




--
You receive this message as a subscriber of the ops-users@objectweb.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Where is Debug Processor Log

Suganda
hi all,

i tried to use tomcat6.0 and i can see ops.log
if i use jboss4.0.5 i can't see that log

seems orbeon can't run in jboss. or if i run in jboss a lot of strange behaviors that i encounter , but not in the tomcat ( same project package )

thanks
ganda:)

Suganda wrote
Hi all ,
i still dont get that log file generated

which lines that must be commented out to enable the log ( ops.log )
../log/ops.log --> where is this path ?

thanks,
suganda:)

xin wrote
I finally get the log file generated!
It turns out we need to comment out *some line*s to enable the log.
Thank you guys very much. Debug is very important to me.

Cheers!
xin

Erik Bruchez wrote:

> In doubt, modify config/log4j.xml, and instead of ../logs/ops.log,
> enter an absolute path to a location you know.
>
> -Erik
>
> Suganda wrote:
>
>> i already follow that procedure but i cant find that file called
>> "ops.log" in my jboss
>> how do i find that file ?
>>
>> thanks
>> ganda:)
>>
>>
>> Erik Bruchez wrote:
>>
>>> Xin,
>>>
>>> You usually don't use the debug processor directly: instead, you use
>>> the "debug" attribute on p:input, p:output or p:param, e.g.:
>>>
>>> <p:input name="..." href="..." debug="my-input">
>>>
>>> The result goes to wherever the Orbeon Forms logs go, which is
>>> specified by config/log4j.xml. By default, this goes to the Tomcat
>>> console output (typically available under Tomcat's catalina.out) and
>>> to a file called ops.log.
>>>
>>> -Erik
>>>
>>> Xin Chen wrote:
>>>
>>>> Hi All,
>>>>
>>>> Sorry for this simple question, but I just can't find any output of
>>>> the Debug Processor:
>>>>
>>>>    <p:processor name="oxf:debug">
>>>>        <p:input name="config">
>>>>            <config>Employee</config>
>>>>        </p:input>
>>>>        <p:input name="data">
>>>>            <employee>
>>>>                <firstname>John</firstname>
>>>>                <lastname>Smith</lastname>
>>>>            </employee>
>>>>        </p:input>
>>>>        <p:output name="data" id="emp"/>
>>>>    </p:processor>
>>>>
>>>> I search tomcat log standdard output file, I can't find any
>>>> "Employee.....".
>>>> reason1: This processor is not running?? I pretty sure I execute
>>>> it. Is there any other place I need to set to enable the Debug?
>>>> reason2: The debug output message is not in Tomcat log file?? Then
>>>> where is it?
>>>>
>>>> Thanks a lot!
>>>> xin
>>>>
>>>
>>> --
>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>> http://www.orbeon.com/
>>>
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the ops-users@objectweb.org
>>> mailing list.
>>> To unsubscribe: mailto:ops-users-unsubscribe@objectweb.org
>>> For general help: mailto:sympa@objectweb.org?subject=help
>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>>>
>>>
>>
>
>
>------------------------------------------------------------------------
>
>
>--
>You receive this message as a subscriber of the ops-users@objectweb.org mailing list.
>To unsubscribe: mailto:ops-users-unsubscribe@objectweb.org
>For general help: mailto:sympa@objectweb.org?subject=help
>ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  
>




--
You receive this message as a subscriber of the ops-users@objectweb.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Where is Debug Processor Log

Erik Bruchez
Administrator
Suganda wrote:
> hi all,
>
> i tried to use tomcat6.0 and i can see ops.log
> if i use jboss4.0.5 i can't see that log
>
> seems orbeon can't run in jboss. or if i run in jboss a lot of strange
> behaviors that i encounter , but not in the tomcat ( same project package )

The logging configuration is in the WEB-INF/resources/config/log4j.xml
file. This is where you will see the "../log/ops.log" path. Try setting
this to an absolute location intead.

-Erik

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Where is Debug Processor Log

Suganda
yup i already try to setting absolute path
but still dont generate that ops.log if i using jboss4.0.5

if i use tomcat 6.0 , eventhough i dont generate absolute path, leave is like default, i still can see ops.log is generated in the log folder of tomcat

can anyone explain this strange behaviour ?

thanks,
suganda:)

Erik Bruchez wrote
Suganda wrote:
> hi all,
>
> i tried to use tomcat6.0 and i can see ops.log
> if i use jboss4.0.5 i can't see that log
>
> seems orbeon can't run in jboss. or if i run in jboss a lot of strange
> behaviors that i encounter , but not in the tomcat ( same project package )

The logging configuration is in the WEB-INF/resources/config/log4j.xml
file. This is where you will see the "../log/ops.log" path. Try setting
this to an absolute location intead.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/


--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Where is Debug Processor Log

Alessandro Vernet
Administrator
Suganda,

On 11/1/07, Suganda <[hidden email]> wrote:
> if i use tomcat 6.0 , eventhough i dont generate absolute path, leave is
> like default, i still can see ops.log is generated in the log folder of
> tomcat
>
> can anyone explain this strange behaviour ?

Would you have the same problem using the latest version of JBoss
(4.2.2)? Have you tried changing oxf.initialize-logging in web.xml
(from true to false or vice versa)?

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
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