Initalizing output just after configuration file parsing allow to
log almost all messages accordingly to configuration.
exit(EXIT_FAILURE);
}
+ /* Since our config is now loaded we can finish configurating the
+ * logging module. */
+ SCLogLoadConfig(suri.daemon);
+
/* load the pattern matchers */
MpmTableSetup();
#ifdef __SC_CUDA_SUPPORT__
NFQInitConfig(FALSE);
#endif
- /* Since our config is now loaded we can finish configurating the
- * logging module. */
- SCLogLoadConfig(suri.daemon);
-
/* Load the Host-OS lookup. */
SCHInfoLoadFromConfig();
if (suri.run_mode != RUNMODE_UNIX_SOCKET) {