Title: RE: LogKit : Factory for DatagramOutputTarget

Hi Peter,
I want to contribute it.There is no doubt in that.

I have attached the class to this mail.

I would like to discuss few things on this line.
I want to use this DatagramLogTarget to do remote logging. By using this factory I am able to create the datagram targets.

And I am able to log them on the datagram server. Server just receive the logs from the client and log them. Datagram server is started

as a component in the remote container.

So with the present version of the DatagramOutputTarget i am only able to send the formatted log in packets to the server. What if I want to

get all the information in the Logging event?

If I am able to receive the log event AS IS in the datagram packet I can use it on the server side to log to the correct category configured on the

server.But i miss some parts in the Logger to do this. How if there is a method in the logger which allows me to pass logEvent. This way logger know how to

log this event. After going thru the Logger code I found there is a private method output( LogEvent ) which will solve my problem if it made available outside this class. But I do'nt know whether this is correct.

So this way client components can use this remote logging. And the categories can be configured on the server side.

You can suggest me a better way to do this.


Raj



-----Original Message-----
From: Peter Donald [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 1:43 PM
To: Avalon Developers List
Subject: Re: LogKit : Factory for DatagramOutputTarget


On Thu, 13 Dec 2001 20:55, Ghorpade, Rajendra wrote:
>       I am using avalon framework,excalibur,logKit in my current project.
> I want to log with a DatagramOutputTarget. As I looked in the API the
> factory for creating the DatagramOutputTarget/s is not present.
> So is it planned in the next release?
> Anyway I am planning to write one.
> Has any one done this already?

I don't think any plans are made. If you create it would be great if you
could contribute it back ;)

--
Cheers,

Pete

------------------------------------------------
 "No. Try not. Do. Or do not. There is no try."
                                     -- Yoda
------------------------------------------------

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

 

Attachment: DatagramTargetFactory.java
Description: Binary data

----------------------------------------- (on the network)

*********************************
PRIVILEGED - PRIVATE AND CONFIDENTIAL
This e-mail and files transmitted with it are intended solely for the
use of the addressee(s) and may contain information which is
confidential or privileged. If you are not the intended recipient, be
aware that any disclosure, copying, distribution or use of this e-mail
or any attachment is prohibited. If you receive this e-mail and you are
not the addressee, or you have received this e-mail in error, please
disregard the contents of the e-mail, delete the e-mail and notify the
author immediately.
*********************************


---------------------------------------------------------

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to