I was thinking hard about how to improve this and since the testing framework is underway, I wanted to add something new and came to logging. I think we could benefit from logging requests for troubleshooting and analysis. My plan includes:
Allowing the user to specify accessLogs in either the config file or the CLI command.
A default location will be setup in /var/logs/eps-conduit/.
We won't handle the archival of logs, that will be left to a sysadmin to use something like logrotate or something (I think this is fair)
The access logs themselves will be somewhat similar to what Amazon ELB offers. Files will have single-spaced lines looking like
I was thinking hard about how to improve this and since the testing framework is underway, I wanted to add something new and came to logging. I think we could benefit from logging requests for troubleshooting and analysis. My plan includes:
accessLogs
in either the config file or the CLI command./var/logs/eps-conduit/
.The access logs themselves will be somewhat similar to what Amazon ELB offers. Files will have single-spaced lines looking like
I'll probably add more as I learn what I can add based on the information available but this will do for now.