WIP; logging tty in daemon mode does not appear good