Well, I figured out how to use the Logger framework while the S.o.p was not
working. Now I have both the logger messages and the sop working together.
I also found other debugging technique of using debug=browser (and other
options like xml) but that doesn't work. I think I should fork a separate
thread for that.

Thanks
-Pankaj

-----Original Message-----
From: Dave Newton [mailto:davelnew...@gmail.com] 
Sent: Monday, May 23, 2011 10:53 PM
To: Struts Users Mailing List
Subject: Re: Where does the stdout of Actions go?

Why would you use S.o.p anyway? Why not just use the logging framework
that's already there?

Dave

On Mon, May 23, 2011 at 10:09 AM, Pankaj Shrivastava
<pankaj.shrivast...@techrica.com> wrote:
> The catalina.out was getting the Struts messages through the logger. It
was
> just not getting the SOP. I blew away all the log files, rolled back my
code
> a few versions where I knew it was working. The messages started
appearing.
> Again rolled forward and now they appear. Don't know what was wrong in
> between.
>
> Thanks for your help.
>
> -Pankaj
>
> -----Original Message-----
> From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com]
> Sent: Monday, May 23, 2011 1:36 PM
> To: Struts Users Mailing List
> Subject: Re: Where does the stdout of Actions go?
>
> It should appear in catalina.out, I don't think T7 team made a such big
> changes.
> Ensure that the user which launch tomcat have the right access to the
> catalina.out.
> Another thing that it worth a try is to start tomcat in debug mode.
>
> Anyway it's not a S2 question, you'll probably be luckier on apache tomcat
> ML.
>
> On 23 May 2011 08:02, Pankaj Shrivastava
> <pankaj.shrivast...@techrica.com>wrote:
>
>> Hi,
>>
>> While debugging my actions, I have put System.out.println in my Action
> code
>> (in the validate() method). I know the code, including the SOP, is
getting
>> executed because the validation errors do show up. However, I can't see
> the
>> SOP appearing in the catalina.out file of the Tomcat server. I am using
>> 7.0.11 Apache Tomcat and starting it using the startup.sh script which
>> ships
>> with it.
>>
>> Thanks
>> -Pankaj
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>
>
> --
> Maurizio Cucchiara
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to