bug fixing to make http and ddp logging work