Solved

Access WebSphere Logs With Console

Posted on 2014-07-22
2
480 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 500 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

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

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

Suggested Solutions

This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

734 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