Hello, Community.
I’ve a problem with stdout.log.
I add some “print” statements in bro scripts (e.g., detect-bruteforcing.bro).
When I start Bro from the command line:
bro -i eth2 local
it prints outputs of the print statements on to the stdout.
However, I start Bro from the broctl:
[BroControl] > start
[BroControl] > exit
then I go to “logs/current/” and try to see the outputs of the print statements:
cat stdout.log
the only results that I can see are:
max memory size (kbytes, -m) unlimited
data seg size (kbytes, -d) unlimited
virtual memory (kbytes, -v) unlimited
core file size (blocks, -c) unlimited
I expected that I can read the outputs of the print statements in the stdout.log.
The content of /logs/stderr.log looks like (only one line):
listening on eth2, capture length 8192 bytes
This error message also appears as I start Bro by command line.
I don’t think this makes any difference.
I have no idea what is going wrong.
Thanks in advance.