Guten Tag Alder Netw, am Donnerstag, 24. April 2014 um 01:10 schrieben Sie:
> We want to set some special socket options to the socket to the remote > syslog server, wonder whether we can create a udp socket ourselves, > perform whatever customized option configuration, and pass to log4cx as > an appender? This will be really useful, thanks in advance, You can subclass an existing appender or a appender base class and provide that manually to a logger, overriding SocketAppender or SocketAppenderSkeleton should be the way to go. http://logging.apache.org/log4cxx/apidocs/namespacelog4cxx_1_1net.html http://logging.apache.org/log4cxx/apidocs/classlog4cxx_1_1_logger.html#a7c0629acee8dbd1251474bea15d7c9e2 Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail:thorsten.schoen...@am-soft.de AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Telefon...........05151- 9468- 55 Fax...............05151- 9468- 88 Mobil..............0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow