re-enable log

@nmonterroso 

Backporting #5019 from dev