From e7be81dd66bc4d19ff8552b81aa38821eeb9f457 Mon Sep 17 00:00:00 2001 From: yaworsky Date: Mon, 28 Nov 2005 14:03:41 +0000 Subject: Implemented charset conversion in each log path. Fixed bugs in configuration reader. --- doc/src/configuration.xml | 48 ++++++++++++++++++++++++----------------------- doc/src/internals.xml | 21 +++++++++++---------- doc/src/intro.xml | 5 +++++ 3 files changed, 41 insertions(+), 33 deletions(-) (limited to 'doc') diff --git a/doc/src/configuration.xml b/doc/src/configuration.xml index a29a210..dc99510 100644 --- a/doc/src/configuration.xml +++ b/doc/src/configuration.xml @@ -73,6 +73,18 @@ and udp defines a listening UDP socket. +encoding + + + +Optional. +Expect incoming messages in this encoding. +Default is UTF-8. + + + + + interface @@ -125,6 +137,19 @@ or collector respectively. +encoding + + + +Optional. +Messages must be converted to this encoding. +Conversion is not performed if both source and destination encodings are identical or not specified. +Default is UTF-8. + + + + + file @@ -526,29 +551,6 @@ Default is yes. -source_encoding - - - -Optional. -Convert incoming messages from specified encoding to -destination_encoding. -Default is do not convert. - - - - - -destination_encoding - - - -Required, if source_encoding is given. - - - - - mark_interval diff --git a/doc/src/internals.xml b/doc/src/internals.xml index dafa160..88da43a 100644 --- a/doc/src/internals.xml +++ b/doc/src/internals.xml @@ -68,16 +68,17 @@ or by the writing thread after file is closed. +------------+ +-----+ | +------+ | +--------------+ - +-----------------+ +------+ +-----------+ +-----------+ ---->|charset converter|--->|filter|--->|multiplexer|-+->|destination|+ - +-----------------+ +------+ +-----------+ +->+-----------+|+ - ^ +-> +-----------+| - | +-----------+ - +-------+ - |logpath|+ - +-------+|+ - +-------+| - +-------+ + +------+ +-----------------+ +-----------+ +--->|filter|--->| multiplexer |-+->|destination|+ + | | |charset converter| | | || + +------+ +-----------------+ +->+-----------+|+ + ^ +-> +-----------+| + | +-----------+ + +-------+ + |logpath|+ + +-------+|+ + +-------+| + +-------+ file +-----------+ +-----+ +--------------+ diff --git a/doc/src/intro.xml b/doc/src/intro.xml index 7c3d104..077b606 100644 --- a/doc/src/intro.xml +++ b/doc/src/intro.xml @@ -26,6 +26,11 @@ log rotation; +charset conversion between message sources and destinations; + + + + completely open-source. -- cgit v1.2.3