VMware Cloud Community
barnette08
Expert
Expert

request.log question

I noticed today while looking at the request.log file something a little different.  This is a multi-cell environment and I wanted to verify how traffic is hitting the cells.  Typically I have been able to just login and go straight to the logs directory and tail the request.log file.  Today I noticed that cell01 the log files were only present for today, and that they were appended by numbers (2013_06_27.request.log.024221650).  The other cell had the most recent request.log file as simply request.log without the numbers, and older logs with the appended numbers.  The issue I have with this is that it seems like there is no recent request.log on cell01 because the most recent log is 3 hours ago.

cell01

-rw-------.  1 vcloud vcloud  5242998 Jun 27 02:42 2013_06_27.request.log.024221650

-rw-------.  1 vcloud vcloud  5243153 Jun 27 03:46 2013_06_27.request.log.034617198

-rw-------.  1 vcloud vcloud  5242970 Jun 27 04:35 2013_06_27.request.log.043554478

-rw-------.  1 vcloud vcloud  5243007 Jun 27 05:44 2013_06_27.request.log.054418724

-rw-------.  1 vcloud vcloud  5242938 Jun 27 09:33 2013_06_27.request.log.093338199

-rw-------.  1 vcloud vcloud  5243102 Jun 27 12:29 2013_06_27.request.log.122910552

-rw-------.  1 vcloud vcloud  5242960 Jun 27 13:39 2013_06_27.request.log.133920163

-rw-------.  1 vcloud vcloud  5243024 Jun 27 14:32 2013_06_27.request.log.143226511

-rw-------.  1 vcloud vcloud  5242886 Jun 27 14:50 2013_06_27.request.log.145037401

cell02

-rw-------.  1 vcloud vcloud  4839429 Jun 23 23:59 2013_06_23.request.log

-rw-------.  1 vcloud vcloud  5242988 Jun 23 10:20 2013_06_23.request.log.102031761

-rw-------.  1 vcloud vcloud  1428949 Jun 24 23:59 2013_06_24.request.log

-rw-------.  1 vcloud vcloud  5242894 Jun 24 15:02 2013_06_24.request.log.150255067

-rw-------.  1 vcloud vcloud  5242939 Jun 24 20:31 2013_06_24.request.log.203155150

-rw-------.  1 vcloud vcloud  2741103 Jun 25 05:06 2013_06_25.request.log

-rw-------.  1 vcloud vcloud  1147287 Jun 27 17:04 2013_06_27.request.log

Thanks in advance

0 Kudos
2 Replies
IamTHEvilONE
Immortal
Immortal

I'm sure you've already figured this out by now.

You just happen to have traffic load balancing to one cell for some time.  that's about it really.  An these are mostly for API call logging, or website logins (getting the HTTPS session started).  If the log rotates, then we stamp the files and use them as the roll over.

0 Kudos
barnette08
Expert
Expert

I ended up rebooting cell01 because there was no way of seeing the log, so after it came back from reboot the logs were populated correctly and I was able to view the log on both cells.  From there I could also tell that the load balancer was now balancing to both cells correctly. 

0 Kudos