tygre
23 May 2012, 17:48
Hi all!
While tinkering with thttpd (http://eab.abime.net/eab.abime.net/showthread.php?p=794120#post794120), I realised that it should log a lot of interesting information using syslog. So, I installed SysLog v1.20 (http://aminet.net/package/util/moni/SysLog) but no message from thttpd is captured by the syslogdeamon (which works with the examples provided in the LHA archive).
I am wondering if this lack of communication between thttpd and syslogdeamon could be because thttpd uses the IXEmul library. Has anyone any experience using syslog functions and IXEmul?
For sure, in thttpd, there is no call to open syslog.library but I cannot find such a call either in IXEmul: I can find calls to open various libraries:
ix_libs[] =
{
{ (void **)&DOSBase, "dos.library", 37 },
#ifndef __HAVE_68881__
{ (void **)&MathIeeeSingBasBase, "mathieeesingbas.library" },
{ (void **)&MathIeeeDoubBasBase, "mathieeedoubbas.library" },
{ (void **)&MathIeeeDoubTransBase, "mathieeedoubtrans.library" },
#endif
{ NULL, NULL }
};
but not syslog.library. I am using IXEmul v48.0 because I could not find the source for later versions.
Cheers!
Tygre
While tinkering with thttpd (http://eab.abime.net/eab.abime.net/showthread.php?p=794120#post794120), I realised that it should log a lot of interesting information using syslog. So, I installed SysLog v1.20 (http://aminet.net/package/util/moni/SysLog) but no message from thttpd is captured by the syslogdeamon (which works with the examples provided in the LHA archive).
I am wondering if this lack of communication between thttpd and syslogdeamon could be because thttpd uses the IXEmul library. Has anyone any experience using syslog functions and IXEmul?
For sure, in thttpd, there is no call to open syslog.library but I cannot find such a call either in IXEmul: I can find calls to open various libraries:
ix_libs[] =
{
{ (void **)&DOSBase, "dos.library", 37 },
#ifndef __HAVE_68881__
{ (void **)&MathIeeeSingBasBase, "mathieeesingbas.library" },
{ (void **)&MathIeeeDoubBasBase, "mathieeedoubbas.library" },
{ (void **)&MathIeeeDoubTransBase, "mathieeedoubtrans.library" },
#endif
{ NULL, NULL }
};
but not syslog.library. I am using IXEmul v48.0 because I could not find the source for later versions.
Cheers!
Tygre