Moved enable logs check to log method

Closes #3584527

Merge request reports

Loading