mod_xml_cdr is not logging at all.
Mod_xml_cdr is not logging anything at all. I have created an additional directory called logs, and it is still not working. cdr_csv is logging fine. Below is the current file, are there any faults in it? Which directory does {prefix} point to? My current verson is 17408m on Windows <configuration name="xml_cdr.conf" description="XML CDR CURL logger">
<settings> <param name="url" value="http://192.168.1.20:8101/"/> <param name="log-dir" value="log/xml_cdr"/> <param name="log-b-leg" value="false"/> <param name="prefix-a-leg" value="true"/> <param name="encode" value="true"/> <param name="err-log-dir" value="log/xml_cdr"/> --> </settings> </configuration>
-- Frank Church ======================= http://devblog.brahmancreations.com
Any relief with this question? It is beginning to feel rather lonely. On 1 May 2010 08:51, Frank Church <vfclists@googlemail.com> wrote:
Mod_xml_cdr is not logging anything at all. I have created an additional directory called logs, and it is still not working. cdr_csv is logging fine.
Below is the current file, are there any faults in it? Which directory does {prefix} point to?
My current verson is 17408m on Windows
<configuration name="xml_cdr.conf" description="XML CDR CURL logger">
<settings> <param name="url" value="http://192.168.1.20:8101/"/> <param name="log-dir" value="log/xml_cdr"/> <param name="log-b-leg" value="false"/> <param name="prefix-a-leg" value="true"/> <param name="encode" value="true"/> <param name="err-log-dir" value="log/xml_cdr"/> --> </settings> </configuration>
-- Frank Church
======================= http://devblog.brahmancreations.com
-- Frank Church ======================= http://devblog.brahmancreations.com
That feeling is only going to amplify if you post at 2:54 AM on a Saturday then follow up at 4:03PM on the same Saturday asking about the same question. Have you done any basic trouble shooting? Make sure mod_xml_cdr is loaded? Used tcpdump to see if anything is going out on the wire? We can't really help without proper information to help diagnose the problem. /b On May 1, 2010, at 4:00 PM, Frank Church wrote:
Any relief with this question? It is beginning to feel rather lonely.
mod_xml_cdr is loaded and sending xml via http fine. Logging is not working. I have sussed out that the leading Freeswitch developers are in the Western part of USA and I believe you are 6 - 8 hrs behind London, which is why my posting times appear odd. You once remarked that it was late when you answered by question and that was a time a had just risen from bed. On 1 May 2010 22:17, Brian West <brian@freeswitch.org> wrote:
That feeling is only going to amplify if you post at 2:54 AM on a Saturday then follow up at 4:03PM on the same Saturday asking about the same question.
Have you done any basic trouble shooting? Make sure mod_xml_cdr is loaded? Used tcpdump to see if anything is going out on the wire?
We can't really help without proper information to help diagnose the problem.
/b
On May 1, 2010, at 4:00 PM, Frank Church wrote:
Any relief with this question? It is beginning to feel rather lonely.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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
Directory permissions maybe? *shrug* Could use some more information on what steps you've taken. =c) -Tod Hansmann On 5/1/2010 3:00 PM, Frank Church wrote:
Any relief with this question? It is beginning to feel rather lonely.
On 1 May 2010 08:51, Frank Church <vfclists@googlemail.com <mailto:vfclists@googlemail.com>> wrote:
Mod_xml_cdr is not logging anything at all. I have created an additional directory called logs, and it is still not working. cdr_csv is logging fine.
Below is the current file, are there any faults in it? Which directory does {prefix} point to?
My current verson is 17408m on Windows
<configuration name="xml_cdr.conf" description="XML CDR CURL logger"> <settings> <param name="url" value="http://192.168.1.20:8101/"/> <param name="log-dir" value="log/xml_cdr"/> <param name="log-b-leg" value="false"/> <param name="prefix-a-leg" value="true"/> <param name="encode" value="true"/> <param name="err-log-dir" value="log/xml_cdr"/> --> </settings> </configuration>
-- Frank Church
======================= http://devblog.brahmancreations.com
-- Frank Church
======================= http://devblog.brahmancreations.com
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
mox_xml_cdr is working fine. I am sending the XML to webserver and saving the information into a database. It is the file logging which is not working at all. What I don't know is if the file path I am using is correct. cdr_csv works fine and it is a Windows system I don't think it is a file permisions problem. On 1 May 2010 22:29, Tod Hansmann <freeswitch.org@todandlorna.com> wrote:
Directory permissions maybe? *shrug* Could use some more information on what steps you've taken. =c)
-Tod Hansmann
On 5/1/2010 3:00 PM, Frank Church wrote:
Any relief with this question? It is beginning to feel rather lonely.
On 1 May 2010 08:51, Frank Church <vfclists@googlemail.com> wrote:
Mod_xml_cdr is not logging anything at all. I have created an additional directory called logs, and it is still not working. cdr_csv is logging fine.
Below is the current file, are there any faults in it? Which directory does {prefix} point to?
My current verson is 17408m on Windows
<configuration name="xml_cdr.conf" description="XML CDR CURL logger">
<settings> <param name="url" value="http://192.168.1.20:8101/"/> <param name="log-dir" value="log/xml_cdr"/> <param name="log-b-leg" value="false"/> <param name="prefix-a-leg" value="true"/> <param name="encode" value="true"/> <param name="err-log-dir" value="log/xml_cdr"/> --> </settings> </configuration>
-- Frank Church
======================= http://devblog.brahmancreations.com
-- Frank Church
======================= http://devblog.brahmancreations.com
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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
Well I opened up mod_xml_cdr.c and looked for the 'open' call which brings me to this option in your config file you'll need to set "log-http-and-disk" <param name="log-http-and-disk" value="true"/> I have updated the config samples to include this. /b On May 1, 2010, at 5:11 PM, Frank Church wrote:
mox_xml_cdr is working fine. I am sending the XML to webserver and saving the information into a database. It is the file logging which is not working at all.
What I don't know is if the file path I am using is correct.
cdr_csv works fine and it is a Windows system I don't think it is a file permisions problem.
Frank, In my config, I have: <param name="log-dir" value=""/> This should be enough to get the XML CDRs written to $freeswitch_dir/ log/xml_cdr/ David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 02/05/2010 à 00:11, Frank Church a écrit :
mox_xml_cdr is working fine. I am sending the XML to webserver and saving the information into a database. It is the file logging which is not working at all.
What I don't know is if the file path I am using is correct.
cdr_csv works fine and it is a Windows system I don't think it is a file permisions problem.
On 1 May 2010 22:29, Tod Hansmann <freeswitch.org@todandlorna.com> wrote: Directory permissions maybe? *shrug* Could use some more information on what steps you've taken. =c)
-Tod Hansmann
On 5/1/2010 3:00 PM, Frank Church wrote:
Any relief with this question? It is beginning to feel rather lonely.
On 1 May 2010 08:51, Frank Church <vfclists@googlemail.com> wrote: Mod_xml_cdr is not logging anything at all. I have created an additional directory called logs, and it is still not working. cdr_csv is logging fine.
Below is the current file, are there any faults in it? Which directory does {prefix} point to?
My current verson is 17408m on Windows
<configuration name="xml_cdr.conf" description="XML CDR CURL logger"> <settings> <param name="url" value="http://192.168.1.20:8101/"/> <param name="log-dir" value="log/xml_cdr"/> <param name="log-b-leg" value="false"/> <param name="prefix-a-leg" value="true"/> <param name="encode" value="true"/> <param name="err-log-dir" value="log/xml_cdr"/> --> </settings> </configuration>
-- Frank Church
======================= http://devblog.brahmancreations.com
-- Frank Church
======================= http://devblog.brahmancreations.com
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I have tested it now and the <param name="log-http-and-disk" value="true"/> is necessary for logging to disk. Logging to disk doesn't work without it even if you set logging to the default values. On 1 May 2010 23:26, David Ponzone <david.ponzone@gmail.com> wrote:
Frank,
In my config, I have:
<param name="log-dir" value=""/>
This should be enough to get the XML CDRs written to $freeswitch_dir/log/xml_cdr/
David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34
Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com
*Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. **IPeva** décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.* * *
Le 02/05/2010 à 00:11, Frank Church a écrit :
mox_xml_cdr is working fine. I am sending the XML to webserver and saving the information into a database. It is the file logging which is not working at all.
What I don't know is if the file path I am using is correct.
cdr_csv works fine and it is a Windows system I don't think it is a file permisions problem.
On 1 May 2010 22:29, Tod Hansmann <freeswitch.org@todandlorna.com> wrote:
Directory permissions maybe? *shrug* Could use some more information on what steps you've taken. =c)
-Tod Hansmann
On 5/1/2010 3:00 PM, Frank Church wrote:
Any relief with this question? It is beginning to feel rather lonely.
On 1 May 2010 08:51, Frank Church <vfclists@googlemail.com> wrote:
Mod_xml_cdr is not logging anything at all. I have created an additional directory called logs, and it is still not working. cdr_csv is logging fine.
Below is the current file, are there any faults in it? Which directory does {prefix} point to?
My current verson is 17408m on Windows
<configuration name="xml_cdr.conf" description="XML CDR CURL logger">
<settings> <param name="url" value="http://192.168.1.20:8101/"/> <param name="log-dir" value="log/xml_cdr"/> <param name="log-b-leg" value="false"/> <param name="prefix-a-leg" value="true"/> <param name="encode" value="true"/> <param name="err-log-dir" value="log/xml_cdr"/> --> </settings> </configuration>
-- Frank Church
======================= http://devblog.brahmancreations.com
-- Frank Church
======================= http://devblog.brahmancreations.com
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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 _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@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
participants (4)
-
Brian West
-
David Ponzone
-
Frank Church
-
Tod Hansmann