Pass scope to log engines.
Merge pull request #2448 from ADmad/3.0-log-scope

Pass scope to log engines.