WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Need Log File

    Posted Thu April 16, 2015 01:31 PM
    Hi Team,

    Due to some issues my logs are writing in the default log path. So, i want to get the logs on the same place where is starting/stopping the server. (ie) /opt/IBM/Websphere/Appserver/profiles/DMGR/bin/ ./startManager
      i want the logs in the same path. Could you please advise is it possible to get the logs?

    Thanks,
    Srikanth.V  


  • 2.  Need Log File

    Posted Thu April 16, 2015 08:31 PM
    Hi Srikanth,

      Yes, you only need to go through Admin Console
     
      Troubleshooting->Logs and Traces-> SERVER_NAME -> Change JVM Logs path to /opt/IBM/Websphere/Appserver/profiles/DMGR/bin/
     
      After that you need to restart your server.
     
      Hope this helps. Tell us if you need more support
     
    Regards


  • 3.  Need Log File

    Posted Mon April 20, 2015 01:33 PM
    Hi Gabriel,


    Thanks for the reply, but i need for the temporary purpose to find the error. Is there anyway to get the logs?  


  • 4.  Need Log File

    Posted Mon April 20, 2015 04:18 PM
     By default the logs are in profile "logs" directory

      I your case

      /opt/IBM/Websphere/Appserver/profiles/DMGR/logs/dmgr
     
      If you have more profiles then
     
      /opt/IBM/Websphere/Appserver/profiles/PROFILE_NAME/logs/
                                                              nodeagent
                                                              server1
                                                              SERVERNAME
     
      You have all the logs (SystemOut.log, SystemErr.log, native_stderr.log, native_stdout.log, startServer.log, stopServer.log,...) inside each directory

      Hope this helps. Tell us if you need more support

    Regards