Connecting Tech Pros Worldwide Forums | Help | Site Map

Tomcat > stdout

kimbuba
Guest
 
Posts: n/a
#1: Jul 17 '05
Hello all.
i have e little question about tomcat.
I've installed it on RedHat9
i use startup.sh to start the server.
the question is:
is there a way to redirect stdoutput directly to console?
In example:
if on my servlet i call System.out.pritln("Hello");
i'd like to see it as output on the virtual linux console that started the
daemon (like in windows with the bat file).

thnx to all in advance!



PerfectDayToChaseTornados
Guest
 
Posts: n/a
#2: Jul 17 '05

re: Tomcat > stdout



"kimbuba" <kimbuba3_NOSPAM_@yahoo.it> wrote in message
news:msAhb.30462$Zh.29062@tornado.fastwebnet.it...
| Hello all.
| i have e little question about tomcat.
| I've installed it on RedHat9
| i use startup.sh to start the server.
| the question is:
| is there a way to redirect stdoutput directly to console?
| In example:
| if on my servlet i call System.out.pritln("Hello");
| i'd like to see it as output on the virtual linux console that started the
| daemon (like in windows with the bat file).
|
| thnx to all in advance!
|

You could use tail -f on the log file, this will give you a realtime updated
display of the logfile on your screen.

--
-P
"Sometimes I feel so goddam' trapped by everything that I know"


kimbuba
Guest
 
Posts: n/a
#3: Jul 17 '05

re: Tomcat > stdout


wow that should work for me
thnx a lot!



"PerfectDayToChaseTornados" <pdtct@emailaddress.invalid> ha scritto nel
messaggio news:zDAhb.770$gj2.259@news-binary.blueyonder.co.uk...[color=blue]
>
> "kimbuba" <kimbuba3_NOSPAM_@yahoo.it> wrote in message
> news:msAhb.30462$Zh.29062@tornado.fastwebnet.it...
> | Hello all.
> | i have e little question about tomcat.
> | I've installed it on RedHat9
> | i use startup.sh to start the server.
> | the question is:
> | is there a way to redirect stdoutput directly to console?
> | In example:
> | if on my servlet i call System.out.pritln("Hello");
> | i'd like to see it as output on the virtual linux console that started[/color]
the[color=blue]
> | daemon (like in windows with the bat file).
> |
> | thnx to all in advance!
> |
>
> You could use tail -f on the log file, this will give you a realtime[/color]
updated[color=blue]
> display of the logfile on your screen.
>
> --
> -P
> "Sometimes I feel so goddam' trapped by everything that I know"
>
>[/color]


Closed Thread