Local

This has also two main logs for tracing and wakeup purposes.

  • timestamp (human readable). Human readable timestamp.

  • level.  INFO in 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.

  • 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.414] [INFO] WakeUp_Local - 1391690317414 -- 63b58913-e2d8-1e60-1a40-617fdf9929ef -- wakeup -- /C=SP/ST=DummyState/L=DummyLocation/O=WakeUpPlatformOrg/CN=client_test -- 127.0.0.1:44444 -- udp -- 127.0.0.1

Sent notification

Similar to prior requests, indicates on the latest parameter if it went well (200) or bad (other message). For UDP requests, as there are no ACK from the client, it writes OK if the datagram was sent out of the network stack.

[2014-02-06 13:38:37.415] [INFO] WakeUp_Local - 1391690317414 -- 63b58913-e2d8-1e60-1a40-617fdf9929ef -- 127.0.0.1:44444 -- udp -- OK