Solved

Access WebSphere Logs With Console

Posted on 2014-07-22
2
464 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
  • 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Not able to update Java 5 207
syntax to run tcpdump for a specific source IP & tcp port 1 85
JVM Fonts 4 80
Out of memory exceptions Tomcat 3 94
-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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now