[syslog-ng]Logging to Oracle - Quoting issue

André Bonhôte syslog-ng@lists.balabit.hu
Tue May 10 11:55:14 CEST 2005


Just found another one: &'s don't get quoted at all. It looks like =20
sqlplus will wait for a user entry (variable substitution).

Example:

'mc2.fra.qmail-send: [ID 748625 mail.info] 1115721654.581305 starting =20=

delivery 6475704: msg 932402 to remote M&E@xxxxx.com'

...
Enter value for e:

In the meantime, I have found macros.c where all that gets defined. =20
Unfortunately I don't know much C.

Any hints?

TIA

Andr=E9

On May 10, 2005, at 12:29, Andr=E9 Bonh=F4te wrote:

> Hi!
>
> I have already written a mail to info@balabit.hu today, but I am =20
> impatient. Forgive me please!
>
> We have an issue when logging to Oracle. Obviously, Oracle requires =20=

> a single quote to be quoted by a single quote. I have found this =20
> [1] article about it. Since it's 2005 now, I'd like to know whether =20=

> this one is fixed in the latest version or not. I have 1.6.2 =20
> running in production now on a few machines. I didn't find anything =20=

> in the Changelog about this, unfortunately.
>
> Could someone give me a hint?
>
> Thanks IA
>
> Andr=E9
>
> [1] https://lists.balabit.hu/pipermail/syslog-ng/2003-November/=20
> 005510.html
> ___ ___ ___ ___
> \C/ \O/ \L/ \T/   Andre Bonhote            t: +41 (0)44 5 600 600
>  V   V   V   V    Platform Infrastructure  f: +41 (0)44 5 630 501
> we make business  Senior IP Engineer
> straight.forward  COLT Telecom             e: andre@colt.net
>
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
>

___ ___ ___ ___
\C/ \O/ \L/ \T/   Andre Bonhote            t: +41 (0)44 5 600 600
  V   V   V   V    Platform Infrastructure  f: +41 (0)44 5 630 501
we make business  Senior IP Engineer
straight.forward  COLT Telecom             e: andre@colt.net




More information about the syslog-ng mailing list