tweak and log