Now only logs when there is an issue with the network, limits log file size