Global

There are different logs, mostly two of them are the most important.

Wakeup logs

the first one, shown just after this paragraph with explanation it is a wakeup information message, and its structure is:

  • timestamp (human readable). Human readable timestamp.

  • level.  INFOin this case.

  • UNIX timestamp. 

  • UUID of the petition. This is the main trace information between instances (both UDP and local one). This comes from the x-tracking-id header in the HTTP request. If it is not on the request, it is added for tracking purposes.

  • API reached. This can be one of: wakeup , about , status , netinfo .

  • Certificate information. CN is the most important part, as it says the issued client. This comes from the SSL terminator as the X-Client-Cert-DN HTTP header.

  • MCC. 

  • MNC. 

  • Real IP of the petition. This comes from the x-real-ip header in the request. If it is not available, it just shows undefined

  • Client (IP:port) to wakeup. 

  • Protocol. Protocol selected to wakeup the client. It can be UDP (default) or TCP .

  • IP of the internal petition. 

[2014-02-06 13:38:37.405] [INFO] WakeUp_Global - 1391690317405 -- 63b58913-e2d8-1e60-1a40-617fdf9929ef -- wakeup -- /C=SP/ST=DummyState/L=DummyLocation/O=WakeUpPlatformOrg/CN=client_test -- 214 -- 07 -- undefined -- 127.0.0.1:44444 -- udp -- 127.0.0.1

Request to local node

Request is similar to above, with the differente that instead of showing the page requested, it shows the status code from the request from the other end.

[2014-02-06 13:38:37.416] [INFO] WakeUp_Global - 1391690317416 -- 63b58913-e2d8-1e60-1a40-617fdf9929ef -- 200 -- Accepted