OrlandoGolang / eps-conduit

Light-weight load balancer, written in Go
MIT License
2 stars 5 forks source link

Add Access Logs #45

Closed dansackett closed 8 years ago

dansackett commented 8 years ago

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:

The access logs themselves will be somewhat similar to what Amazon ELB offers. Files will have single-spaced lines looking like

timestamp load_balancer_number client:port load_balancer_ip:port request_processing_time status_code received_bytes "request" "user_agent"

I'll probably add more as I learn what I can add based on the information available but this will do for now.