port-mirroring
port-mirroring copied to clipboard
Improve debugging
Display log messages to the console when the --debug option is provided.
--debug option seems not working with TZSP. I only get the fisrt line when using TZSP.
Thanks, @FlameSky-Sea. I'll have to overhaul the debugging component so messages are displayed to both the console and syslog.If you need to see the messages, try checking syslog in the meantime.
I don't know why but syslog never worked properly with port-mirroring on my router(youku-yk1 MT7620 trunk), "logread | grep port-mirroring" always returns nothing. I'm thinking about trying another router these days.