[syslog-ng] [Question]: Initialisation step in syslog-ng-3.25.1
Nitish Saboo
nitish.saboo55 at gmail.com
Tue Feb 18 05:30:19 UTC 2020
I am using syslog-ng-3.25.1.I am initialising syslog-ng in the following
manner:
int initialize_engine(const gchar* _module_path)
{
resolvedConfigurablePaths.initial_module_path = _module_path;
app_startup();
msg_init(TRUE);
[*]//resolved_configurable_paths_init(&resolvedConfigurablePaths);
configuration = cfg_new(0x0302);
cfg_set_global_paths(configuration);
cfg_load_module(configuration, "basicfuncs");
cfg_load_module(configuration, "syslogformat");
pattern_db_global_init();
return 0;
}
I have assigned value to 'resolvedConfigurablePaths.initial_module_path' to
provide module-path location.
Do I have to add this step
[*]'resolved_configurable_paths_init(&resolvedConfigurablePaths)' that is
commented currently in initialize_engine method ?
Thanks,
Nitish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20200218/95340e20/attachment.html>
More information about the syslog-ng
mailing list