Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Access WebSphere Logs With Console

Posted on 2014-07-22
2
Medium Priority
?
540 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 12

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 12

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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 …
Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Suggested Courses

578 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