[Serusers] why isn't xlog logging?

Alan Crosswell alan at columbia.edu
Thu Jan 22 23:59:43 CET 2004


Ah,  I had thought the levels corresponded to syslog levels, not the debug var. 
  I increased debug to 3 and now the L_INFOs show up.  Thanks, Jan.

/a


Jan Janak wrote:
> Try higher loglevel, for example L_ERR, maybe your loglevel treshold
> (debug variable) is too high for L_INFO.
> 
>   Jan.
> 
> On 21-01 14:28, Alan Crosswell wrote:
> 
>>I must be doing something really dumb:
>>
>>   if (uri==myself) { # allow *all* my aliases to match
>>        if (method=="REGISTER") {
>>            xlog("L_INFO", "REGISTER %is: %tu\n");
>>            if (!www_authorize("columbia.edu", "subscriber")) {
>>                www_challenge("columbia.edu", "0");
>>                break;
>>            };
>>
>>            save("location");   # save in usrloc
>>            break;
>>        };
>>
>>Nothing shows up in syslog for the xlogs but other syslogging works:
>>
>>Jan 21 14:23:51 ren ser: Aliases: ren.cc.columbia.edu:5060 localhost:5060 
>>localh
>>ost.localdomain:5060 columbia.edu:*
>>Jan 21 14:23:51 ren ser: Listening on
>>Jan 21 14:23:51 ren ser:               127.0.0.1 [127.0.0.1]:5060
>>Jan 21 14:23:51 ren ser:               128.59.39.127 [128.59.39.127]:5060
>>Jan 21 14:23:51 ren ser: Aliases: ren.cc.columbia.edu:5060 localhost:5060 
>>localh
>>ost.localdomain:5060 columbia.edu:*
>>Jan 21 14:23:51 ren ser: ser startup succeeded
>>Jan 21 14:24:09 ren /usr/sbin/ser[23883]: ACC: call missed: method=INVITE, 
>>i-uri
>>=sip:43754 at columbia.edu;user=phone, 
>>o-uri=sip:43754 at 128.59.59.242:5060;user=phon
>>e, call_id=00036baa-c49ce019-38332009-0bf6c446 at 128.59.31.170, from="alan" 
>><sip:a
>>lan at columbia.edu>;tag=00036baac49c014725d2d806-0cc644f0, code=487 Request 
>>Termin
>>ated
>>
>>version is ser-0.8.12
>>
>>/a
>>
>>_______________________________________________
>>Serusers mailing list
>>serusers at lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list