replace printf -> log_sherwood