[Bro] print statement redirection
Robin Sommer
robin at icir.org
Thu Jan 8 07:27:46 PST 2015
On Thu, Jan 08, 2015 at 08:47 -0600, John Donnelly wrote:
> That is interesting , but it doesn't really satisfy my curiosity Does the
> scripting I/O not use stderr + stdout ?
By default, print does go to stdout. The code is in src/Stmt.cc,
PrintStmt::DoExec().
> I am interested in getting bro to redirect to syslog by inheriting
> file descriptors on startup .
Just to be sure, you know there's a builtin function syslog(msg),
right?
Robin
--
Robin Sommer * ICSI/LBNL * robin at icir.org * www.icir.org/robin
More information about the Bro
mailing list