restart_logging was not correctly initialized.
Related to changes for PM-704
Merge branch '4.2'