Hi, unix-dgram solved my problem. Thanks guys! Br, Adam 2012/6/18 Sergey Okhapkin <sos@sokhapkin.dyndns.org>
Syslog-ng ose handles multiline logs beginning with version 3.2. Here is an example:
Jun 18 13:26:02 east1 /usr/local/sbin/kamailio[20824]: INFO: <script>: incoming reply from udp:217.174.249.226:5062 SIP/2.0 200 OK Via: SIP/2.0/UDP 64.85.163.5;branch=z9hG4bK5aed.4b7d8687.0 From: sip:dispatcher@localhost;tag=119eb1f393742816e68426b045d5a8e7-1177 To: <sip:217.174.249.226:5062>;tag=1FacrNHveN0ZH Call-ID: 30f7ccd477b092dc-20828@64.85.163.5 CSeq: 10 OPTIONS Contact: <sip:217.174.249.226:5062> User-Agent: CWU SIP GW Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, NOTIFY Supported: timer, precondition, path, replaces Allow-Events: talk, hold, refer Content-Length: 0
On Monday 18 June 2012 18:14:40 Steven Ayre wrote:
It appears to be a limitation in syslog-ng ose - a quick google turned this up which sounds similar to your problem:
https://lists.balabit.hu/pipermail/syslog-ng/2011-September/017212.html
Steve on iPhone
On 18 Jun 2012, at 12:59, Ádám Koleszár<adam.koleszar@virtual-call- center.eu> wrote:
Hi,
A have a little problem with the mod_syslog module. Freeswitch generates multiline log messages (for example: SDP or register messages) which syslog-ng OSE can't handle. The firs part of the message is sent correctly but missing the facility and ident from the other part of the message. Because of this the messages can not be filtered by ident (or facility) on server side and goes to wrong destination.
My question is, have you ever noticed this kind of problem? Thank you for your help in advance.
Br, Adam
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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