Slide 17
Slide 17 text
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 11/10/16 - 17 / 36
www.galvao.eti.br
Logs: Porque um ElePHPant tem que ter boa memória!
$ cat data/logs/comphpartment.log
[2016-08-11 08:40:02] cLogger.INFO: Trying to authenticate to Pocket API [] []
[2016-08-11 08:40:03] cLogger.ERROR: Failed to authenticate to Pocket API.
{"Cache-Control":["private"],"Content-Type":["text/html; charset=UTF-8"],
"Date":["Thu, 11 Aug 2016 11:40:03 GMT"],"Expires":["Thu, 19 Nov 1981 08:52:00 GMT"],
"P3P":["policyref=\"/w3c/p3p.xml\", CP=\"ALL CURa ADMa DEVa OUR IND UNI COM NAV INT STA PRE\""],
"Pragma":["no-cache"],"Server":["Apache"],"Set-Cookie":["PHPSESSID=8r2q9fs3hejuunl7dn4s9s6l37;
path=/"],"Status":["403 Forbidden"],"Vary":["Accept-Encoding"],"X-Error":["Invalid consumer key."],
"X-Error-Code":["152"],"X-Source":["Pocket"],"Content-Length":["13"],"Connection":["keep-alive"]} []
[2016-08-11 10:20:55] cLogger.INFO: Trying to authenticate to Poket API [] []
[2016-08-11 10:20:56] cLogger.INFO: Successfully authenticated to Pocket API [] []
[2016-08-11 10:34:50] cLogger.INFO: Trying to authenticate to Pocket API [] []
[2016-08-11 10:34:52] cLogger.INFO: Successfully authenticated to Pocket API [] []
[2016-08-11 10:34:57] cLogger.INFO: Waiting for User Authorization [] []
Um exemplo real*