logmessages in the syslog [R&T #1544]
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3244
Reported by Claes Reivant, Roxen IS claes@roxen.com
We log all Roxen's logmessages in the syslog (settings admininterface: LOG_ALL / LOG_LOCAL1). This worked fine in Roxen 2.1, until we upgraded to Roxen CMS 3.2 and Pike 7.2 (could be a coincidence...). We now see NONE of the messages appear in whatever which syslog.
I've made a simpel pikescript to test the syslog function. The example, nor the Roxen log, does place anything in the syslog.
#define LOG_DEBUG (1<<7)
#define LOG_LOCAL1 (1<<6)
int main(int argc, array argv)
{
openlog("Roxen", 0, LOG_LOCAL1);
syslog(LOG_DEBUG, "Hello World\n");
return 1;
}
Szandor van Verseveld WebDevelopment RTLiMedia