piaware logger messages echo'ed to the server

* echo logger messages to the adept server if we are connected to the server

* new log_locally proc for stuff where we know we don't want to echo the
message to the server

* comments