?
Solved

Access WebSphere Logs With Console

Posted on 2014-07-22
2
Medium Priority
?
510 Views
Last Modified: 2014-07-23
Developers are being told that we cannot access the production WebSphere hosts.  We're using log4j and have comprehensive logging to a log file in a subfolder of server1.  This server1 folder has the SystemOut.log.  This is WS 8.5.0.2.

The SA claims that we can retrieve any log file in a subfolder of server1 through the DevConsole.  The only option I see is the ability to view SystemOut.log and SystemErr.log.  Is there any way to download our log files through the Console?
0
Comment
Question by:jkavx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 11

Accepted Solution

by:
Radek Baranowski earned 2000 total points
ID: 40213652
No, there's no option to view logs other than standard ones through console. unless you extend programatically ISC (console) application by either modifying existing code (probably not advisable due to licensing restrictions) or by deploying custom built console module - they are portlets that you can author and extend console functionality by adding your own functions and menus - so you can think about doing a simple portlet enabling you to view your custom log files. Further reading here: http://www.ibm.com/developerworks/websphere/library/samples/console.html

Another option is to place your log4j logs on some shared resource like NFS mounted volume or shared drive (if on Windows) and access them from other system without the need of logging into WAS machine shell.

Hope this helps.
0
 
LVL 11

Expert Comment

by:Radek Baranowski
ID: 40213653
One more option is to install Apache on your WAS machine and place log4j logs in it's htdocs directory and access them over http protocol.
0

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question