Fixes #1478 - Append new sLog when reloading in set command.

* Migrate weak reference into logger class so we can test clearing it.
* Ensure new state.log is propoagted into settings on `set` command.
* Fix set test so that it ensures the sLog is relatively stable when
  reloading on set command.


Review by @eed3si9n