On Fri, Oct 28, 2016 at 08:57:08AM +0200, Arturo Borrero Gonzalez wrote: > If conntrackd is running in console mode (i.e. in foreground) > then we can print the log messages to stdout/stderr. > > This eases the workflow for admins, since we condensate more info into > the same terminal output. Applied, thanks Arturo. BTW, one comment: > Example: > > % sudo conntrackd -C /etc/conntrackd.conf > WARNING: XXXX is an invalid interface Probably, we can now place this message via logging. I remember the problem is that logging is not yet initialized at that stage, but this should be easy to fix. > [Thu Oct 27 13:57:09 2016] (pid=7581) [notice] disabling internal cache > [Thu Oct 27 13:57:09 2016] (pid=7581) [notice] disabling external cache > [Thu Oct 27 13:57:09 2016] (pid=7581) [ERROR] can't open channel socket: No such device > [Thu Oct 27 13:57:09 2016] (pid=7581) [ERROR] initialization failed > ERROR: conntrackd cannot start, please check the logfile for more info And I guess this "ERROR: conntrackd cannot start, please review your configuration" can go into log message too. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html