Where should I look for log output from server deployed code?
![]()
Ananya Joisa (45●6●21●24)
| asked Jul 02 '12, 5:04 a.m.
edited Jul 06 '12, 7:50 a.m. by Geoffrey Clemm (30.1k●3●30●35)
Hi,
I have deployed my code from my RTC client to a remote server but I don't see the output of the print statements in the console of the client. Will the output be logged in the server as the code is running from the server? Where should I look in the server? Please guide. Thanks, Ananya |
3 answers
![]()
If you're writing to stdout, the file that contains your output depends on which server you're using. For Tomcat, look in server/tomcat/logs/catalina.out. (On Windows, the filename contains a date.)
For WebSphere Application Server, look in WebSphere/AppServer/profiles/AppSrv01/logs/server1/SystemOut.log. The directory name might be different if you're using a non-default profile name or server name. |
![]()
Since it is Server deployed code,
Tomcat's console screen will have the output of System.out.println statements which is written in server code. Regards Muthukumar.C |
![]()
Thanks for replying.
I could locate catalina.out. Even though I have deployed the server, in the log folder, catalina.date.log is not getting updated for the date the build was run and catalina.out has a list of Registry errors. Why would that happen even after deploying? Any idea? Thanks, Ananya |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.