[logging] improve logging/messages where network isn't available. fixes #15290, #15291