added some debug log outputs to generatesewernetwork