How to generate network logs