Add support for specifying whether to log HTTP at detail or protocol level