Switch logger calls to log_locally in a few places

Change calls to the logger proc to call log_locally in places where

* we know for sure we don't have an extant connection

* it would be superfluous to log things the server told us back to the server, like that it is shutting down

* some of the more chatty stuff that is useful for someone to look at in the logfile but not on the server, like the startup greeting.