This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

locate production server name  RSS feed

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • 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 .  
 
Marshal
Posts: 4409
281
Clojure IntelliJ IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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.
 
That feels good. Thanks. Here's a tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!