Re: NetSendAppender
On Thursday, December 12, 2002, at 10:28 PM, Mark Womack wrote: Adding NetSendAppender as a contribution is a good idea. I really wish there was a good approach for integrating contributions without falling into a maintenance trap. Dumping code into the contribs/ directory is unsatisfactory because it does not offer much beyond space but it costs nearly nothing in terms of maintenance. Leaving the author to his or her own devices is not the ideal solution either... I agree. I wish there was a better way to handle contributions that don' t make it into the official distribution but are useful none the less. I was thinking that some kind of contribution database, similar to the bug database, could be useful in this regard, but I don't know. And it would be something else to maintain. i don't have a solution but i do have a couple of observations: 1. contribs/ would be more useful if there was documentation linked from the web site. this would save a lot of time when users are looking for solutions. it would be nice if every directory in contribs contained a html file containing a description of the contents. this could be linked (via viewCVS) from the main log4j web site. 2. some other jakarta sub-projects contain sub-sub-projects with their own release cycles. maybe sub-sub-project(s) may allow useful - but non-core code to be distributed effectively. i'm not really push these as plans, i just wanted to throw out these ideas out there and see if anything grows from them. - robert -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
RE: NetSendAppender
Title: RE: NetSendAppender Ceki and Mark, Sorry about that! Here is a copy that is correctly header-ized. It also includes a file called NetSendAppender.txt that explains a bit about the appender. Wherever it ends up, it will need some modifications thanks to the miracle of JNI. While developing it locally I used the "org.apache.log4j.net" package which is likely different than its eventual destination. The CPP file will have to change to reflect the new package name. I removed the C++ header from the distribution because it can be generated from javah and I didn't see a JNI header in the NTEventLogAppender source. I'd like to offer help in maintaining this appender as well as the TelnetAppender if you need it. J * READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure. Internet messages may be corrupted, incomplete, misdirected or may incorrectly identify the sender. Therefore, nothing in this message or attachments may be considered legally binding. THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED. If you are not the intended recipient or their authorized agent, you may not forward or copy this information and must delete or destroy all copies of this message and attachments received. If you have received this communication in error, please notify Matrikon Inc. by telephone at (780) 448-1010. * NetSendAppender.zip Description: Binary data -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
RE: NetSendAppender
> Adding NetSendAppender as a contribution is a good idea. I really wish > there was a good approach for integrating contributions without > falling into a maintenance trap. Dumping code into the contribs/ > directory is unsatisfactory because it does not offer much beyond > space but it costs nearly nothing in terms of maintenance. Leaving the > author to his or her own devices is not the ideal solution either... I agree. I wish there was a better way to handle contributions that don't make it into the official distribution but are useful none the less. I was thinking that some kind of contribution database, similar to the bug database, could be useful in this regard, but I don't know. And it would be something else to maintain. > Sorry to be a pita but this legal stuff is crucial for the continued > health of our project. > > In this particular case, the NetSendAppender.cpp file does not have a > copyright notice. Thus, we cannot put that file into CVS until it is > assigned the right copyright notice by the author (in a public forum.) I missed that. I saw that the java file had the correct header, but did not check the others as closely. My bad. Jay, just resubmit it to this list with the appropriate headers in all the files. thanks for the catch, Ceki, -Mark -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
RE: NetSendAppender
Adding NetSendAppender as a contribution is a good idea. I really wish there was a good approach for integrating contributions without falling into a maintenance trap. Dumping code into the contribs/ directory is unsatisfactory because it does not offer much beyond space but it costs nearly nothing in terms of maintenance. Leaving the author to his or her own devices is not the ideal solution either... One important point to remember is the copyright notice. It must be Apache copyright. Moreover, the copyright must be assigned to Apache Software Foundation *before* the file enters CVS. Only the author (or the legitimate owner) of the code can legally do that. It does NOT help if Mark or I do it. The contribution with the correct copyright header must also first appear in a public forum. Sending a private email to me or Mark is not acceptable (unless it is verifiably signed.) Sorry to be a pita but this legal stuff is crucial for the continued health of our project. In this particular case, the NetSendAppender.cpp file does not have a copyright notice. Thus, we cannot put that file into CVS until it is assigned the right copyright notice by the author (in a public forum.) At 13:58 12.12.2002 -0800, Mark Womack wrote: Hi Jay, I will add this contribution to the log4j cvs in your own directory. It looks like the javadoc potion is fairly verbose, but would you like to provide some kind of readme for it? -Mark -- Ceki -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
RE: NetSendAppender
Hi Jay, I will add this contribution to the log4j cvs in your own directory. It looks like the javadoc potion is fairly verbose, but would you like to provide some kind of readme for it? -Mark -Original Message- From: Jay Funnell [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 1:03 PM To: '[EMAIL PROTECTED]' Subject: NetSendAppender A number of people have asked me individually for the NetSendAppender. I'm including it with this email for those who are interested. Thanks, J * READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure. Internet messages may be corrupted, incomplete, misdirected or may incorrectly identify the sender. Therefore, nothing in this message or attachments may be considered legally binding. THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED. If you are not the intended recipient or their authorized agent, you may not forward or copy this information and must delete or destroy all copies of this message and attachments received. If you have received this communication in error, please notify Matrikon Inc. by telephone at (780) 448-1010. *
NetSendAppender
Title: NetSendAppender A number of people have asked me individually for the NetSendAppender. I'm including it with this email for those who are interested. Thanks, J * READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure. Internet messages may be corrupted, incomplete, misdirected or may incorrectly identify the sender. Therefore, nothing in this message or attachments may be considered legally binding. THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED. If you are not the intended recipient or their authorized agent, you may not forward or copy this information and must delete or destroy all copies of this message and attachments received. If you have received this communication in error, please notify Matrikon Inc. by telephone at (780) 448-1010. * NetSendAppender.zip Description: Binary data -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
NetSendAppender
Hello I have a new appender that might be useful for the Log4j distribution. In one of our products we ran into a situation where log management was a proactive client task. The application that we wrote had to notify a plant operator immediately when a critical error was reported. The application was expected to run 24/7 so downtime was bad karma. Our immediate solution was to use the handy SMTPAppender. This let the operator know about critical errors through email. However we found that even email could be too late. As a result we developed the NetSendAppender. This appender uses the Windows "NET SEND" command to transport log messages. "NET SEND" delivers a popup message to the user immediately on their machine. If there is interest in this appender I can provide the code (one Java class and a JNI module). J * READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure. Internet messages may be corrupted, incomplete, misdirected or may incorrectly identify the sender. Therefore, nothing in this message or attachments may be considered legally binding. THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED. If you are not the intended recipient or their authorized agent, you may not forward or copy this information and must delete or destroy all copies of this message and attachments received. If you have received this communication in error, please notify Matrikon Inc. by telephone at (780) 448-1010. *