Implementing Flush method to httplog