add logging

Allow logging of requests