daithi-coombes / api-connection-manager

Manages connections and requests to 3rd party providers or services
0 stars 1 forks source link

Use two log files #53

Closed daithi-coombes closed 11 years ago

daithi-coombes commented 11 years ago

When logs for response from services are called the log file is cleared. This means its impossible to work with logs for the whole process of requesting a resource and parsing the result.

A better solution would be to have 2 log files:

All service responses are sent to the blog's admin-ajax.php page so testing:

if(defined('ADMIN_AJAX'))

will allow the logging function to know which log file to use

daithi-coombes commented 11 years ago

fixed by #54 closed