log to a file
log if it's remote or not