Date: Fri, 1 Sep 2000 14:13:19 +0200 From: Alexander Maret <maret@atrada.net> To: 'Peter Pentchev' <roam@orbitel.bg> Cc: "'freebsd-hackers@freebsd.org'" <freebsd-hackers@freebsd.org> Subject: AW: Redirect stdout/stderr to syslog [OFF-TOPIC] Message-ID: <58A002A02C5ED311812E0050044517F00D25DB@erlangen01.atrada.de>
next in thread | raw e-mail | index | archive | help
> -----Ursprungliche Nachricht----- > Von: Peter Pentchev [mailto:roam@orbitel.bg] > Gesendet: Freitag, 1. September 2000 14:00 > > man 1 logger > > pipe your stdout/stderr to logger(1), and you're all set. > You may even > specify a facility/level to log with. > Thanks for your quick answer but I would prefer to do it entirely in C without calling external progs. I could think of a solution forking another child process which does the syslog logging and redirecting stdout/stderr of the execvped program via IPC to this child. But is there any easier solution? Bye, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58A002A02C5ED311812E0050044517F00D25DB>