greatly improved robustness of internet logging, needs testing