Solved

Access WebSphere Logs With Console

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Comet channel best practices and HA 6 45
Not able to update Java 5 213
some methods private some are not 8 212
zip zap java cchallenge 3 108
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…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 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