log sending stuff