; I saw this post on the Internet:
>> http://www.jguru.com/faq/view.jsp?EID=302980
>>
>> > Where do System.out and System.err go in Tomcat?
>> > By default, they will go to the console where the tomcat is started.
>> You have to modify the startup
>> > sc
ote:
>>
>>> Hello devs,
>>>
>>> I saw this post on the Internet:
>>> http://www.jguru.com/faq/view.jsp?EID=302980
>>>
>>> > Where do System.out and System.err go in Tomcat?
>>> > By default, they will go to the console w
:19 PM, "M. D." wrote:
> Hello devs,
>
> I saw this post on the Internet:
> http://www.jguru.com/faq/view.jsp?EID=302980
>
> > Where do System.out and System.err go in Tomcat?
> > By default, they will go to the console where the tomcat is started. You
> h
Hello devs,
I saw this post on the Internet:
http://www.jguru.com/faq/view.jsp?EID=302980
> Where do System.out and System.err go in Tomcat?
> By default, they will go to the console where the tomcat is started. You have
> to modify the startup
> scripts to redirect them to appro
> From: Dola Woolfe [mailto:dolac...@yahoo.com]
> Subject: Re: Capturing System.out on a Mac
> I appreciate the point about logging, but what if I am using a
> library that utilizes System.out?
Then you really, really need to file a bug report with the maintainers of the
library
Thank you and Christopher!
I appreciate the point about logging, but what if I am using a library that
utilizes System.out?
Thanks again,
Dola
- Original Message -
From: Derek Beauregard
To: Tomcat Users List
Cc:
Sent: Friday, April 27, 2012 1:31 PM
Subject: Re: Capturing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dola,
On 4/27/12 12:19 PM, Dola Woolfe wrote:
> We just switched from Windows to Mac. On Windows, when we started
> tomcat in the command window, a new window would pop up that
> contains all the output of System.out. But on a Mac, no n
Catalina.out should have anything written to stdout/stderr. Be careful as
this file is not rotated and will grow for ever. Any web apps should be
using logging and not System.out.
Also you could start tomcat with the 'run' command rather than the 'start'
command to run it
They don't contain the output of System.out?
Are you expecting them to?
l the
> output of System.out. But on a Mac, no new window shows up and we are
> missing all the output. Is there a quick fix to this?
>
> Many thanks in advance,
>
> Dola
>
>
> -
> To unsubscribe, e-
Hi,
We just switched from Windows to Mac. On Windows, when we started tomcat in the
command window, a new window would pop up that contains all the output of
System.out. But on a Mac, no new window shows up and we are missing all the
output. Is there a quick fix to this?
Many thanks in
ng working through slf4j, Hibernate is
persisting objects, and everything is good.
Chris
-Original Message-
From: Chris Moore [mailto:chrismo...@surewest.net]
Sent: Sunday, November 27, 2011 10:30 AM
To: users@tomcat.apache.org
Subject: System.out is not going to catalina.out
I'
27;m asking for help with - I can't seem to
get any kind of logging to work,
including simply writing to System.out. All the documentation I can find
says that System.out should get
written to catalina.out, but I'm not seeing it. I do see "deploying" and
"undeploying&
k, I get no errors or stack traces, but
> the data never gets updated.
>
>
>
> That leads to the real question I'm asking for help with - I can't seem to
> get any kind of logging to work,
>
> including simply writing to System.out. All the documentation I can fin
> From: Chris Moore [mailto:chrismo...@surewest.net]
> Subject: System.out is not going to catalina.out
> I can't seem to get any kind of logging to work,
> including simply writing to System.out.
You really shouldn't be using System.out for logging; you webapp sho
update the database. It seems to work, I get no errors or stack traces, but
> the data never gets updated.
>
>
>
> That leads to the real question I'm asking for help with - I can't seem to
> get any kind of logging to work,
>
> including simply writing to
o
get any kind of logging to work,
including simply writing to System.out. All the documentation I can find
says that System.out should get
written to catalina.out, but I'm not seeing it. I do see "deploying" and
"undeploying" messages in
catalina.out, so I know I'
> From: jason johnson [mailto:jasonjohnson1...@yahoo.com]
> Subject: System.out anf tomcat 6
> I am using tomcat 6.0.16 and windows xp.
Time to upgrade - that's over three years old (and we won't say anything about
your OS...).
> Now that I am using tomcat 6, I can
I am using tomcat 6.0.16 and windows xp.
So I have been looking on the web for hours trying to find how to enabled
System.out in tomcat 6. I used to have tomcat 5.0.x When I used
System.out.println("text"); the text would be written to a stdout.log file.
Now
that I am using t
Hi ,
I need to write in my webapp log4j to stderr but when starting Catalina,
stderr is redirected to stdout (see Catalina.initStreams()). I am unable to
set redirectStreams (attribute in Embedded.java) to false. Is there a
configurtion parameter where I can turn this off or is this a bug in Tomca
Hi.
I am using tomcat 6 & log4j configuration.
I can't see the tomcat source files log messages in the log.
and also i can't see the System.out in the log.
I tried using: swallowOutput="true" in the context file
I also configured in the log4j.properties:
log4j.logge
tomping on global config of
logging and System.out. I assume it's possible for Tomcat to block apps from
messing around like that, and it should. What a nightmare to figure out. This
is so fragile and broken. It's like the old Windows 95 days where a
misbehaving app can mes
> From: Vacuum Joe [mailto:[EMAIL PROTECTED]
> Subject: Re: No logging (or System.out) when I activate virtual hosts
>
> Does anyone have any ideas on this? This whole thing is
> basically not usable for real work if exceptions are silently
> dropped, which is what is
On 1/16/07, Vacuum Joe <[EMAIL PROTECTED]> wrote:
I also asked on a JBoss forum and they thought it's Tomcat.
heh. :-)
... will set up test cases and trace the whole thing,
You might want to install the same version of Tomcat standalone, and
create a comparable virtual host configuration j
"When will you get the idea to take this to a JBoss list??? Logging in
Tomcat works absolutely fine with virtual hosts in standalone mode,
right out of the box."
I also asked on a JBoss forum and they thought it's Tomcat. Right now I'm
going through the JBoss deployer code, and will set up test
On 1/16/07, Vacuum Joe <[EMAIL PROTECTED]> wrote:
Does anyone have any ideas on this? This whole thing is basically not usable
for real work if exceptions are silently dropped, which is what is happening.
Surely someone has implemented some kind of log system that works in Tomcat?
When will
Does anyone have any ideas on this? This whole thing is basically not usable
for real work if exceptions are silently dropped, which is what is happening.
Surely someone has implemented some kind of log system that works in Tomcat?
Or at least there's a way to dump exceptions to Syste
"But unless you've changed your environment, you're not using the logging
facilities of Tomcat - you're using those of JBoss. We always get the
full stack traces under either. Are you sure you haven't disabled
logging in whichever you're actually using?"
I'm sure what's happening is there is a c
More progress: it looks like System.out and System.err are being captured by
classes in org.apache.tomcat.util.log. I could probably recompile those
classes to NOT do anything. Alternatively, if I could find out where in Tomcat
those are being instantiated, that might be under configurable
> From: Vacuum Joe [mailto:[EMAIL PROTECTED]
> Subject: Re: No logging (or System.out) when I activate virtual hosts
>
> Is some system of "dump all exceptions to the console"
> possible in Tomcat?
But unless you've changed your environment, you're not usi
I found a partial solution (requires Java 6):
I wrote my own class:
class MyLogger {
public static void log(String message) {
if(System.console() != null) System.console().printf("consoleLogger:
%s\n", message);
}
}
This has the unique advantage of working, unlike Syste
"What a curious thing to say. I'm running JULI in standalone Tomcat
5.5.20 with multiple hosts with all expected log files created and log
entries made."
It's what I'm observing and it's totally reproducible. For all my apps that are
not on virtual hosts, logging works fine. For apps that are o
> From: Vacuum Joe [mailto:[EMAIL PROTECTED]
> Subject: Re: No logging (or System.out) when I activate virtual hosts
>
> I'm running Tomcat, embedded within JBoss.
>
> I think this relates to JULI, a terrible mistake that
> happened around Tomcat 5.5.9. It is fragile
I'm tracking down part of the problem. I think this relates to JULI, a
terrible mistake that happened around Tomcat 5.5.9. It is fragile junk which
results in no log entries whenever virtual hosting is used. I can't figure out
how to get it to do anything more sophisticated than "silently dro
Here's a very strange problem:
I'm running Tomcat, embedded within JBoss. This is the latest version (5.5.20
I believe) of TC.
When I run this application on my office computer here, which has no virt.
hosts, console log messages show up as expected.
When I then move it over to my production
I'm using Tomcat 5.0.28 and SuSe Linux 9.3
On 6/15/06, Mir Kasim Ali <[EMAIL PROTECTED]> wrote:
Can u tell me which OS ure using and what version of Tomcat
On 6/16/06, Nishant Deshpande <[EMAIL PROTECTED]> wrote:
>
> i'm printing stuff out to system.out in tomcat,
t;[EMAIL PROTECTED]>
06/16/2006 08:45 AM
Please respond to
"Tomcat Users List"
To
Tomcat Users List
cc
Subject
Re: flushing system.out
System.out.println is a synchronized call, and will become a performance
bottleneck on highly concurrent applications,
the ideal is to use a l
ch purpose.
Tim Funk <[EMAIL PROTECTED]>
06/16/2006 07:14 AM
Please respond to
"Tomcat Users List"
To
Tomcat Users List
cc
Subject
Re: flushing system.out
I doubt you want to print to syste
ch purpose.
Tim Funk <[EMAIL PROTECTED]>
06/16/2006 07:14 AM
Please respond to
"Tomcat Users List"
To
Tomcat Users List
cc
Subject
Re: flushing system.out
I doubt you w
I doubt you want to print to system.out in a servlet (or jsp).
Odds are you want flushBuffer
http://tomcat.apache.org/tomcat-5.0-doc/servletapi/javax/servlet/ServletResponseWrapper.html#flushBuffer()
or flush
http://tomcat.apache.org/tomcat-5.0-doc/jspapi/javax/servlet/jsp/JspWriter.html#flush
Can u tell me which OS ure using and what version of Tomcat
On 6/16/06, Nishant Deshpande <[EMAIL PROTECTED]> wrote:
i'm printing stuff out to system.out in tomcat, but it doesn't get
flushed till the end of the request.
(i've tried system.out.flush())
has anyone
i'm printing stuff out to system.out in tomcat, but it doesn't get
flushed till the end of the request.
(i've tried system.out.flush())
has anyone got solutions to this problem? i'm not sure if its a tomcat
problem or some OS /
System.out,
and in localhost_access_log too.
Can someone tell me how to redirect log file, such as localhost_access_log
to System.out.
Thanks...
http://logging.apache.org/log4j/docs/download.html
- Original Message -
From: "Gilbert, Antoine" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Friday, March 24, 2006 2:51 PM
Subject: system.out
How to redirect system.out and system.err to a file to a sp
tml
On 24/03/06, Gilbert, Antoine <[EMAIL PROTECTED]> wrote:
>
> How to redirect system.out and system.err to a file to a specific
> location and with a specific name ?
>
>
>
How to redirect system.out and system.err to a file to a specific
location and with a specific name ?
Is it true that System.out is no longer swallowed by Tomcat 5.5 using
swallowOutput="true"? I have seen mixed messages on this and definitely
cannot get it to work.
I am running Tomcat 5.5.15 on RHEL4 and have a 3rd party webapp that
uses System.out for messages. I am running it
47 matches
Mail list logo