if no tty, log to syslog, else to stdin || stderr