logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: SocketServer (+ Appender's Threshold): msg#00041

apache.logging.log4cxx.user

Subject: Re: SocketServer (+ Appender's Threshold)


Thanks for the swift reply.

> Legally speaking I don't know if you can mix code which is Apache
> Licenced and some closed source code. I think other people on the list
> will be able to tell (which will make sense, of course, only if your
> code is closed source).

How then using the log4cxx code/classes to log messages within your own code is
different
than rebuilding the simplesocketserver with extended levels? (In any case,
anyone
is most welcome to use my extended levels...)

> I don't know. You may try to have a look to the source code.

Does anyone know whether appenders' threshold is supported at present?
(The code seems to do something, but actually configuring a threshold does not
seem to work
Also, the only test configuration files relevant in the log4cxx distribution,
tests global framework thresholds only,
which seems to suggest that appenders' threshold is not supported, hence not
tested)

Regards,
Barak
________________________
Barak Simon
GED IT Core Platform
190 George St. Sydney, 2000
Phone +61 2 925 85070
Fax +61 2 925 95050




cdevienne@alphace

nt.com To:
log4cxx-user@xxxxxxxxxxxxxxxxxx

cc:

22/09/2004 03:17 Subject: Re: SocketServer

Please respond to

log4cxx-user









Barak Simon wrote:

>Thanks Christophe,
>I suspected as much - I guess for the interim we'll use different servers for
>C++ and Java.
>
>I do have some other problem, however, having to do with the fact that I
>subclassed the Level class
>adding two lower levels (MICRO & NANO) which, of course, are not identified by
>the C++ server.
>
>When these logging events get to the server it outputs:
>"Class 'LevelExt4cxx' not found Level deserialization failed, reverting to
>default."
>
>Do I have to re-build the SimpleSocketServer with my class?
>
I think so

>How easy is this?
>
>
Technicaly, quite much :-)
Just add a .cpp file with your classes to simplesocketserver_SOURCES in
simplesocketserver/Makefile.am, and rebuild the binary.

Legally speaking I don't know if you can mix code which is Apache
Licenced and some closed source code. I think other people on the list
will be able to tell (which will make sense, of course, only if your
code is closed source).

>Another thing I tried is thresholding the socket appender on the client side
>to only send INFO and above,
>but it does not seem to work. Are Appender level thresholds unsupported at
>present?
>
>

I don't know. You may try to have a look to the source code.



Regards,

Christophe




--

This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is strictly
forbidden.





<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo