Re: Re Directing tomcat console out put to log files
Hi vijay Your comments are not really helpfull and are rude. Just because something has been updated it does not mean that you have to use the latest version.. There could be a million reasons why someone decides to stick with an older version of an application. Upgrading just for the sake of it does not make sense business sense at all and it costs a lot of money too. If it aint broke don't fix it! On 10/9/09, André Warnier a...@ice-sa.com wrote: VijayKS wrote: VijayKS wrote: Hi I m using Tomcat 4.1. I try to redirect System.out to log files, but unable to do it. Help me to resolve this issue I installed the exe version of tomcat 4.1 . There is no catalina.log files present. localhost_log.2009-10-09.txt This is the file name is in C:\tomcat4.1\logs\ folder. But the System.out. messages not written in this file and it is written in console window Vijay, by now Tomcat 4.1 must be about 10 years old. It is no longer developed nor maintained. The current version is Tomcat 6.20.x. In-between, there have been Tomcat 5.0 and Tomcat 5.5. So why do you install Tomcat 4.1 ? It is not any cheaper than the latest one. Most people here are probably too young even to remember how to configure that version. And even if they are not, not many people here will be willing to go back digging into that old documentation and find answers for you. (Something by the way which you could do yourself.) I would recommend that you de-install Tomcat 4.1, install the latest version, and then if you have a problem come back and ask. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Sent from my mobile device - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Re Directing tomcat console out put to log files
Sorry vijay my comments were directed at Andre On 10/10/09, Ziggy zigg...@gmail.com wrote: Hi vijay Your comments are not really helpfull and are rude. Just because something has been updated it does not mean that you have to use the latest version.. There could be a million reasons why someone decides to stick with an older version of an application. Upgrading just for the sake of it does not make sense business sense at all and it costs a lot of money too. If it aint broke don't fix it! On 10/9/09, André Warnier a...@ice-sa.com wrote: VijayKS wrote: VijayKS wrote: Hi I m using Tomcat 4.1. I try to redirect System.out to log files, but unable to do it. Help me to resolve this issue I installed the exe version of tomcat 4.1 . There is no catalina.log files present. localhost_log.2009-10-09.txt This is the file name is in C:\tomcat4.1\logs\ folder. But the System.out. messages not written in this file and it is written in console window Vijay, by now Tomcat 4.1 must be about 10 years old. It is no longer developed nor maintained. The current version is Tomcat 6.20.x. In-between, there have been Tomcat 5.0 and Tomcat 5.5. So why do you install Tomcat 4.1 ? It is not any cheaper than the latest one. Most people here are probably too young even to remember how to configure that version. And even if they are not, not many people here will be willing to go back digging into that old documentation and find answers for you. (Something by the way which you could do yourself.) I would recommend that you de-install Tomcat 4.1, install the latest version, and then if you have a problem come back and ask. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Sent from my mobile device -- Sent from my mobile device - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Upgrading (was Re: Re Directing tomcat console out put to log files)
2009/10/10 Ziggy zigg...@gmail.com: Just because something has been updated it does not mean that you have to use the latest version.. There could be a million reasons why someone decides to stick with an older version of an application. Upgrading just for the sake of it does not make sense business sense at all and it costs a lot of money too. If it aint broke don't fix it! I'm somewhere in the middle of this discussion. Reasons to keep using an old software version: at least: - We've got it configured and working; - We are aware of any security issues, watch for advisories, and evaluate the risks; - The risk of downtime due to failures from an upgrade is unacceptable; - We can still get support for the old version; - We can't afford the time to learn to configure and maintain the new version; - The licensing costs for the new version are prohibitive (not a problem with Tomcat, luckily); - The performance of the old version is acceptable, or we can add hardware to get round any capacity issues; - There are legislative or environmental dependencies on the old version (for example, we're running this on embedded hardware to provide the web interface to a broadband router, and we would have to port a more recent JVM to the hardware to use a newer Tomcat); - There are no showstopping issues in the old version for us. Reasons to move to a more recent software version: at least: - There are security issues in the old version that are unacceptable to us, and they are fixed in the new version; - We cannot get support for the old version, and we have an issue that we cannot solve ourselves, and we can get support for the new version; - The performance of the old version is unacceptable, and we cannot add hardware to get round the problem, and the new version has better performance; - There are legislative or environmental dependencies on the new version; - There is one or more showstopping issue that makes the old version unusable for what we now want to do with it. Andre is probably correct in that the support for the old version on this list will be poor. Whether that's a good enough reason to upgrade depends on Vijay's requirements :-). Like you, I don't upgrade hardware or software just for the sake of it, but do upgrade for security reasons, or for support or functionality reasons where the business case is justified. For example this means that we have some 10-year-old software, though it's not running on its original hardware. - Peter - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Re Directing tomcat console out put to log files
Have a look at this page http://tomcat.apache.org/tomcat-4.1-doc/config/logger.html On Sat, Oct 10, 2009 at 11:12 AM, Ziggy zigg...@gmail.com wrote: Sorry vijay my comments were directed at Andre On 10/10/09, Ziggy zigg...@gmail.com wrote: Hi vijay Your comments are not really helpfull and are rude. Just because something has been updated it does not mean that you have to use the latest version.. There could be a million reasons why someone decides to stick with an older version of an application. Upgrading just for the sake of it does not make sense business sense at all and it costs a lot of money too. If it aint broke don't fix it! On 10/9/09, André Warnier a...@ice-sa.com wrote: VijayKS wrote: VijayKS wrote: Hi I m using Tomcat 4.1. I try to redirect System.out to log files, but unable to do it. Help me to resolve this issue I installed the exe version of tomcat 4.1 . There is no catalina.log files present. localhost_log.2009-10-09.txt This is the file name is in C:\tomcat4.1\logs\ folder. But the System.out. messages not written in this file and it is written in console window Vijay, by now Tomcat 4.1 must be about 10 years old. It is no longer developed nor maintained. The current version is Tomcat 6.20.x. In-between, there have been Tomcat 5.0 and Tomcat 5.5. So why do you install Tomcat 4.1 ? It is not any cheaper than the latest one. Most people here are probably too young even to remember how to configure that version. And even if they are not, not many people here will be willing to go back digging into that old documentation and find answers for you. (Something by the way which you could do yourself.) I would recommend that you de-install Tomcat 4.1, install the latest version, and then if you have a problem come back and ask. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Sent from my mobile device -- Sent from my mobile device
Re: Re Directing tomcat console out put to log files
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vijay, On 10/9/2009 9:24 AM, VijayKS wrote: I installed the exe version of tomcat 4.1 . There is no catalina.log files present. localhost_log.2009-10-09.txt This is the file name is in C:\tomcat4.1\logs\ folder. But the System.out. messages not written in this file and it is written in console window As Andre points out, Tomcat 4.1 is quite old. You really should upgrade unless you have an absolutely requirement to use this version. Any such requirement should be immediately re-considered as no further bug and security fix versions will be produced for that version. On the other hand, Tomcat is behaving exactly as expected, as described by Chuck: on Windows, stdout goes to the console. Tomcat itself writes very little to stdout, so that shouldn't be a problem. In order to capture stdout for your own webapp, you can set: Context swallowOutput=true ... This will redirect this output to the webapp's logger, whatever that is. On the other hand, you should probably be running Tomcat as a service, using the service wrapper that came with your EXE distribution. The service wrapper should redirect console output to a file of your choosing, and the default should be logs/catalina.out. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkrQjFEACgkQ9CaO5/Lv0PDCzgCePtHzvz5M3zdKRUJP/4Mg+kjJ nRUAoJSVwLcn7Z9JFClMc+qHjYtFX6KH =Sp9B -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Re Directing tomcat console out put to log files
Ziggy wrote: Have a look at this page http://tomcat.apache.org/tomcat-4.1-doc/config/logger.html On Sat, Oct 10, 2009 at 11:12 AM, Ziggy zigg...@gmail.com wrote: Sorry vijay my comments were directed at Andre Ziggy, Vijay, my comments were not really /meant/ to be rude. But I admit they were kind of rough. Considering the fact that in his post, Vijay indicated that he /downloaded and installed Tomcat 4.1/, and considering that Vijay, in earlier posts this year, indicated that he was already using Tomcat 5.x, I was just trying to point out to Vijay that restarting with Tomcat 4.1 at this time was likely to be a loss of time, and not only for him. One of the things that changed significantly from Tomcat 4.1 to Tomcat 5.0 and beyond, is logging. So anything that anyone could tell Vijay about Tomcat 4.1 logging, would most probably be invalid for later versions of Tomcat, which Vijay is much more likely to encounter nowadays. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re Directing tomcat console out put to log files
Hi I m using Tomcat 4.1. I try to redirect System.out to log files, but unable to do it. Help me to resolve this issue -- View this message in context: http://www.nabble.com/Re-Directing-tomcat-console-out-put-to-log-files-tp25818644p25818644.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Re Directing tomcat console out put to log files
all output for System.out statements should by default go to the tomcat log file which is in $CATALINA_HOME/logs/catalina.out Is anything getting written to that file? On 10/9/09, VijayKS ksvijay...@gmail.com wrote: Hi I m using Tomcat 4.1. I try to redirect System.out to log files, but unable to do it. Help me to resolve this issue -- View this message in context: http://www.nabble.com/Re-Directing-tomcat-console-out-put-to-log-files-tp25818644p25818644.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Sent from my mobile device - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Re Directing tomcat console out put to log files
VijayKS wrote: Hi I m using Tomcat 4.1. I try to redirect System.out to log files, but unable to do it. Help me to resolve this issue I installed the exe version of tomcat 4.1 . There is no catalina.log files present. localhost_log.2009-10-09.txt This is the file name is in C:\tomcat4.1\logs\ folder. But the System.out. messages not written in this file and it is written in console window -- View this message in context: http://www.nabble.com/Re-Directing-tomcat-console-out-put-to-log-files-tp25818644p25821140.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Re Directing tomcat console out put to log files
From: Ziggy [mailto:zigg...@gmail.com] Subject: Re: Re Directing tomcat console out put to log files all output for System.out statements should by default go to the tomcat log file which is in $CATALINA_HOME/logs/catalina.out That's not quite correct. The logs/catalina.out file is not really a log file, since there's no handler for it; it's simply a redirection of stdout and stderr established by the startup scripts on Linux and UNIX platforms. The standard Windows scripts do no such redirection. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Re Directing tomcat console out put to log files
VijayKS wrote: VijayKS wrote: Hi I m using Tomcat 4.1. I try to redirect System.out to log files, but unable to do it. Help me to resolve this issue I installed the exe version of tomcat 4.1 . There is no catalina.log files present. localhost_log.2009-10-09.txt This is the file name is in C:\tomcat4.1\logs\ folder. But the System.out. messages not written in this file and it is written in console window Vijay, by now Tomcat 4.1 must be about 10 years old. It is no longer developed nor maintained. The current version is Tomcat 6.20.x. In-between, there have been Tomcat 5.0 and Tomcat 5.5. So why do you install Tomcat 4.1 ? It is not any cheaper than the latest one. Most people here are probably too young even to remember how to configure that version. And even if they are not, not many people here will be willing to go back digging into that old documentation and find answers for you. (Something by the way which you could do yourself.) I would recommend that you de-install Tomcat 4.1, install the latest version, and then if you have a problem come back and ask. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org