updated tiny bit of http logging logic