You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Legolas Woodland <le...@gmail.com> on 2006/01/01 12:18:51 UTC
is there any log file viewer for tomcat log files with live feed
ability
Hi
Thank you for reading my post.
im developing some application and i have problem with viewing the Log
file of application server everytime.
is there any tool that could automatically fetch the changes from log
file and show them instantly ?
for example if i ask it to monitor application server log file it shows
me a live feed of the log file.
thank you
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: is there any log file viewer for tomcat log files with live feed
ability
Posted by Legolas Woodland <le...@gmail.com>.
Wolfgang Egger wrote:
> Servus Legolas,
>
> Legolas Woodland schrieb:
>
>
>> could you please tell me more ?
>> how i can configure log4j , which client i should use ?
>>
>
> Sorry, the last time i used log4j, was 3 years ago, so I don't remember
> the details. But you may have a look at google and the urls above
>
> http://www.jguru.com/faq/view.jsp?EID=1007096
> # log4j can direct its output to a file, the console, an
> java.io.OutputStream, java.io.Writer, a remote server using TCP, a
> remote Unix Syslog daemon, to a remote listener using JMS, to the NT
> EventLog or even send e-mail.
>
>
>
> http://logging.apache.org/log4j/docs/manual.html
>
>
> Example Configurations
>
>
> Default Initialization under Tomcat
>
> The default log4j initialization is particularly useful in web-server
> environments. Under Tomcat 3.x and 4.x, you should place the
> |log4j.properties| under the |WEB-INF/classes| directory of your
> web-applications. Log4j will find the properties file and initialize
> itself. This is easy to do and it works.
>
> You can also choose to set the system property *log4j.configuration*
> before starting Tomcat. For Tomcat 3.x The |TOMCAT_OPTS| environment
> variable is used to set command line options. For Tomcat 4.0, set the
> |CATALINA_OPTS| environment variable instead of |TOMCAT_OPTS|.
>
>
>
> Have a nice day
>
> Wolfgang
>
>
Thank you very much .
I will report back to community as soon as i could get a live feed from
the Application server , log files
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
Re: is there any log file viewer for tomcat log files with live feed
ability
Posted by Wolfgang Egger <be...@wolfgang-egger.de>.
Servus Legolas,
Legolas Woodland schrieb:
> could you please tell me more ?
> how i can configure log4j , which client i should use ?
Sorry, the last time i used log4j, was 3 years ago, so I don't remember
the details. But you may have a look at google and the urls above
http://www.jguru.com/faq/view.jsp?EID=1007096
# log4j can direct its output to a file, the console, an
java.io.OutputStream, java.io.Writer, a remote server using TCP, a
remote Unix Syslog daemon, to a remote listener using JMS, to the NT
EventLog or even send e-mail.
http://logging.apache.org/log4j/docs/manual.html
Example Configurations
Default Initialization under Tomcat
The default log4j initialization is particularly useful in web-server
environments. Under Tomcat 3.x and 4.x, you should place the
|log4j.properties| under the |WEB-INF/classes| directory of your
web-applications. Log4j will find the properties file and initialize
itself. This is easy to do and it works.
You can also choose to set the system property *log4j.configuration*
before starting Tomcat. For Tomcat 3.x The |TOMCAT_OPTS| environment
variable is used to set command line options. For Tomcat 4.0, set the
|CATALINA_OPTS| environment variable instead of |TOMCAT_OPTS|.
Have a nice day
Wolfgang
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: is there any log file viewer for tomcat log files with live feed
ability
Posted by Legolas Woodland <le...@gmail.com>.
Wolfgang Egger wrote:
> Servus Legolas,
>
> Legolas Woodland schrieb:
>
> my experiences with tomcat are some years old and I'm "new" to tomcat
> again since some weeks, but perhaps my hint may help you fooking further ...
>
>
>> is there any tool that could automatically fetch the changes from log
>> file and show them instantly ?
>> for example if i ask it to monitor application server log file it
>> shows me a live feed of the log file.
>>
>
> As far as I know, Tomcat can use log4j for its logging. You may be able
> to configure log4j for remote-monitoring, so you can use a
> stand-alone-log4j-client to view the logs as a live feed.
>
> Hope that helps a little
>
> Wolfgang
>
could you please tell me more ?
how i can configure log4j , which client i should use ?
thank you
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
Re: is there any log file viewer for tomcat log files with live feed
ability
Posted by Wolfgang Egger <be...@wolfgang-egger.de>.
Servus Legolas,
Legolas Woodland schrieb:
my experiences with tomcat are some years old and I'm "new" to tomcat
again since some weeks, but perhaps my hint may help you fooking further ...
> is there any tool that could automatically fetch the changes from log
> file and show them instantly ?
> for example if i ask it to monitor application server log file it
> shows me a live feed of the log file.
As far as I know, Tomcat can use log4j for its logging. You may be able
to configure log4j for remote-monitoring, so you can use a
stand-alone-log4j-client to view the logs as a live feed.
Hope that helps a little
Wolfgang
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org