[syslog-ng] [Bug 204] dbparser docs not clear for @NUMBER@

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Sat Oct 13 10:33:53 CEST 2012


https://bugzilla.balabit.com/show_bug.cgi?id=204


Balazs Scheidler <bazsi at balabit.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bazsi at balabit.hu




--- Comment #1 from Balazs Scheidler <bazsi at balabit.hu>  2012-10-13 10:33:53 ---
comma is locale dependant.

some languages use ',' as thousands separator and '.' as decimal separator
others use '.' for thousands separator, and comma as decimal separator.

Yet others (like Hungarian) use space for thousands separator and comma for decimals.

This is a big can of worms and I think it would be quite problematic when the input is a comma separated list of numbers.
I'd rather allow a @REGEXP@ parser instead, which when used deeply in the pattern may be good enough performance wise.


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list