add log injection