[Freeswitch-users] mod_xml_cdr error log is not working

Frank Church vfclists at googlemail.com
Mon May 3 14:05:36 PDT 2010


PS. Brian has updated the config samples,
http://lists.freeswitch.org/pipermail/freeswitch-users/2010-May/057475.html

On 3 May 2010 22:03, Frank Church <vfclists at googlemail.com> wrote:

>
>
> I think it is a bug because the wiki states that log-http-and-disk Default
> behaviour is to write either HTTP or Disk on HTTP failure. Setting this to
> true will write to both HTTP and Disk regardless (handy for realtime +
> reconciliation later if required) true
> But it wasn't writing the HTTP connection errors to the disk until I added
> log-http-and-disk to the configuration. log-http-and-disk is for writing the
> CDR itself, but logging HTTP errors did not work until it was added
>
> http://lists.freeswitch.org/pipermail/freeswitch-users/2010-May/057475.html
>
> On 3 May 2010 21:14, Michael Jerris <mike at jerris.com> wrote:
>
>> would you mind making sure this gets documented on the wiki, and, if it is
>> not in the sample configuration, send us a patch for that via
>> http://jira.freeswitch.org ?
>>
>> Mike
>>
>> On May 3, 2010, at 6:43 AM, Frank Church wrote:
>>
>> I have received some help about it in
>> http://lists.freeswitch.org/pipermail/freeswitch-users/2010-May/057453.html
>> .
>>
>> It requires an additional undocumented parameter in mod_xml_cdr.conf,
>> though that may not have been necessary in earlier versions.
>>
>>
>> On 3 May 2010 06:06, Michael Jerris <mike at jerris.com> wrote:
>>
>>> the defaults in windows are all relative to the running freeswitch base
>>> dir, unless you explicitly set them.  there may be some issue with trailing
>>> vs no trailing path seperator when you configure them.
>>>
>>> Mike
>>>
>>> On Apr 29, 2010, at 9:56 PM, Frank Church wrote:
>>>
>>> > I have set the err-log-dir and log-dr in xml_cdr.conf.xml but the logs
>>> > are not working. The system is a windows system and I wonder if the
>>> > defaults for windows are different.
>>> >
>>> > I have logs/xml_cdr  in addition to the  log/xml_cdr in the
>>> > c:\freeswitch directory but Freeswitch can't find them.
>>> >
>>> > Logs snippet
>>> > =========
>>> > 2010-04-30 02:41:02.984375 [DEBUG] switch_core_state_machine.c:314
>>> > (sofia/internal/1811 at 192.168.1.133) Running State Change CS_REPORTING
>>> > 2010-04-30 02:41:02.984375 [DEBUG] switch_core_state_machine.c:590
>>> > (sofia/internal/1811 at 192.168.1.133) State REPORTING
>>> > 2010-04-30 02:41:03.812500 [ERR] mod_xml_cdr.c:359 Got error [0]
>>> > posting to web server [http://192.168.1.20:8132/]
>>> > 2010-04-30 02:41:03.812500 [ERR] mod_xml_cdr.c:366 Retry will be with
>>> > url [http://192.168.1.20:8132/]
>>> > 2010-04-30 02:41:03.812500 [ERR] mod_xml_cdr.c:377 Unable to post to
>>> > web server, writing to file
>>> > 2010-04-30 02:41:03.812500 [ERR] mod_xml_cdr.c:399 Error![No such file
>>> > or directory]
>>> >
>>>
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> --
> Frank Church
>
> =======================
> http://devblog.brahmancreations.com
>



-- 
Frank Church

=======================
http://devblog.brahmancreations.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100503/9e34797f/attachment.html 


More information about the FreeSWITCH-users mailing list