Revert "Revert "log""

This reverts commit d19991bc3fbcf8d4178b7e2ffbcc9637cdc1ab2a.