The Artima Developer Community
Sponsored Link •

Design Forum
Display of the Logs

2 replies on 1 page. Most recent reply: Sep 30, 2002 3:02 PM by bree vanoss

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
yanis97

Posts: 20
Nickname: yanis97
Registered: Jun, 2002

Display of the Logs Posted: Jul 3, 2002 8:04 AM
Reply to this message Reply
Advertisement
Hello;

I try to design a method to display on browser of the logs which are generated by two servers : web server and data server.

your ideas will be the welcomes.

Djamel;


Thomas SMETS

Posts: 307
Nickname: tsmets
Registered: Apr, 2002

Re: Display of the Logs Posted: Aug 5, 2002 4:56 PM
Reply to this message Reply
I believe you don't know Log4J ?
http://www.apache.org/log4j
Thomas SMETS,
SCJP2 - Brussels

bree vanoss

Posts: 9
Nickname: bree
Registered: Sep, 2002

Re: Display of the Logs Posted: Sep 30, 2002 3:02 PM
Reply to this message Reply
The basic issue is that your files need to be accessible either as a web resource or by a web resource. Lets look at the webserver part. Most likely, your web/appserver logs are going to be stored in a directory that will not map to a url, therefor, you will either need to move the log to the server's docroot, or you will need to create some other resource that can act as a proxy and read the file and write it to the browser. This could be as simple as an executable perl script in your cgi-bin that is hardcoded to read and display a given file. What you don't want to do is create a resource that will display the file based on some parameter, such as filename. Do this and you've just poked a hole in your system.

If the database server is a different machine, you have another issue to face in how to provide access to this file from a different machine (ftp, nfs, etc.).

Please provide some more information such as the actual tools you are using and whether or not the appserver and database server are two pysically different machines.

-=bree

Flat View: This topic has 2 replies on 1 page
Topic: Websphere Apllication Server on AIX Previous Topic   Next Topic Topic: please talk about workflow!!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use