• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

locate production server name

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have 8 app servers sitting on prod environment . Many times we need to monitor app logs but its always difficult to find or locate the exact server name where user request has been forwarded . is there any way or concept available by which developer can observe which server the request is  moving to so that he can login and monitor the logs on that specific server only instead of checking the logs on every server.  

Technical Infrastructure -  Java 6, JBOSS .  
 
Sheriff
Posts: 5555
326
IntelliJ IDE Python Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I feel your pain. I used to have this problem on a product I worked on and that was with just 2 prod servers, although I did have to jump through 2 intermediate servers to reach the prod server so was a real pain.

Since then we've started to use Splunk which consumes all the application logs into a single searchable location. Now instead of having to log into prod01, prod02, prod03, etc to find log entries I can simply query Splunk with "host=prod0*". It's much more convenient.

As a secondary bonus, we reconfigured the application to publish its log messages directly to Splunk over TCP which means that the application servers do not have log files containing sensitive information on them. This is a win for data security.
 
reply
    Bookmark Topic Watch Topic
  • New Topic