FYI >Delivered-To: [EMAIL PROTECTED] >Reply-To: "Mark DeLaFranier" <[EMAIL PROTECTED]> >From: "Mark DeLaFranier" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Cc: "Mark DeLaFranier" <[EMAIL PROTECTED]> >Subject: New Feature. >Date: Tue, 12 Feb 2002 23:41:05 -0500 >X-Mailer: Microsoft Outlook Express 6.00.2600.0000 >X-Authentication-Info: Submitted using SMTP AUTH LOGIN at >fep03-mail.bloor.is.net.cable.rogers.com from [24.102.232.214] using ID ><[EMAIL PROTECTED]> at Tue, 12 Feb 2002 23:41:31 -0500 > >Ceki, > >In my project, I have a Win32 application launching the Java VM which in >turn performs a bunch of logging, using Log4J. > >Microsoft has a Win32 API, OutputDebugString(), which is handy for logging >messages to the Visual Studio debugger or anyother Win32 tool that can act >as a debug string server >(http://www.sysinternals.com/ntw2k/freeware/debugview.shtml - This is an >example that I use regularly) > >I have enhanced the org.apache.log4j.nt directory and created a new >Appender - NTOutputDebugAppender.java and ntdebuglog.c. I made some slight >changes to the code for ntevent.log.c so that some code can be shared >between ntdebuglog.c and nteventlog.c. > >With this enhancement, both my C/C++ and Java source code can all log to the >same destination under NT. > >I don't know if this would be something you are interested in, but if you >are please let me know and if you would like, I could clean up the code and >document it. I have attached my org.apache.log4j.nt directory for you to >see. > >Thanks >Mark
-- Ceki Gülcü
nt.zip
Description: Zip archive
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>