basic logging and log delivery