Hello Everybody,
Is there a simple way to redirect DbgPrint Output to a file?
Best Regards,
Rikki Tamayo
Hello Everybody,
Is there a simple way to redirect DbgPrint Output to a file?
Best Regards,
Rikki Tamayo
Rikki Tamayo wrote:
Is there a simple way to redirect DbgPrint Output to a file?
DebugView (http://www.sysinternals.com/ntw2k/freeware/debugview.shtml)
has a “Log To File” option. Running it should be simple enough.
R
–
http://www.KernelOne.com
Secure @ Windows Core
Or if you are connected to a debugger, you can Log that to a file as
well …
-g
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Raj Varada
Sent: Wednesday, August 04, 2004 1:03 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] DbgPrint to File
Rikki Tamayo wrote:
Is there a simple way to redirect DbgPrint Output to a file?
DebugView (http://www.sysinternals.com/ntw2k/freeware/debugview.shtml)
has a “Log To File” option. Running it should be simple enough.
R
–
http://www.KernelOne.com
Secure @ Windows Core
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@cisco.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Thank you for your answers, maybe at the moment using the Debugview
Application will suffice. But in the future, the customer is requesting that
a logging function be added to the driver. The easiest way I can think of is
redirecting the dbgprint output. Anyways, maybe I’ll jut try to emulate the
functionality of the dbgprint function but to a log file. Is there any
samples out there that also does logging to the filesystem? If there is, any
pointers or information will be highly helpful.
Best regards,
Rikki Tamayo
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Girish Kulkarni
(kulkis)
Sent: Wednesday, August 04, 2004 4:22 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] DbgPrint to File
Or if you are connected to a debugger, you can Log that to a file as well
…
-g
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Raj Varada
Sent: Wednesday, August 04, 2004 1:03 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] DbgPrint to File
Rikki Tamayo wrote:
Is there a simple way to redirect DbgPrint Output to a file?
DebugView (http://www.sysinternals.com/ntw2k/freeware/debugview.shtml)
has a “Log To File” option. Running it should be simple enough.
R
–
http://www.KernelOne.com
Secure @ Windows Core
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@cisco.com To unsubscribe
send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@omron.com.ph To
unsubscribe send a blank email to xxxxx@lists.osr.com
event log?
“Rikki Tamayo” wrote in message news:xxxxx@ntdev…
> Thank you for your answers, maybe at the moment using the Debugview
> Application will suffice. But in the future, the customer is requesting
that
> a logging function be added to the driver. The easiest way I can think of
is
> redirecting the dbgprint output. Anyways, maybe I’ll jut try to emulate
the
> functionality of the dbgprint function but to a log file. Is there any
> samples out there that also does logging to the filesystem? If there is,
any
> pointers or information will be highly helpful.
>
> Best regards,
> Rikki Tamayo
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Girish Kulkarni
> (kulkis)
> Sent: Wednesday, August 04, 2004 4:22 PM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] DbgPrint to File
>
> Or if you are connected to a debugger, you can Log that to a file as well
> …
>
> -g
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Raj Varada
> Sent: Wednesday, August 04, 2004 1:03 PM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] DbgPrint to File
>
>
> Rikki Tamayo wrote:
>
> >
> > Is there a simple way to redirect DbgPrint Output to a file?
> >
>
> DebugView (http://www.sysinternals.com/ntw2k/freeware/debugview.shtml)
> has a “Log To File” option. Running it should be simple enough.
>
> R
>
> –
> http://www.KernelOne.com
> Secure @ Windows Core
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@cisco.com To unsubscribe
> send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@omron.com.ph To
> unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
Search Google for “Monitoring NT Debug Services” from “Jose Flores” . But take care : it’s older stuff that will not work
anymore on XP/Server 2003. BTW. the soft uses undocumented things, *not* to be used in a production environment.
C.
----- Original Message -----
From: Rikki Tamayo
To: Windows System Software Devs Interest List
Sent: Wednesday, August 04, 2004 9:10 AM
Subject: [ntdev] DbgPrint to File
Hello Everybody,
Is there a simple way to redirect DbgPrint Output to a file?
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@compaqnet.be
To unsubscribe send a blank email to xxxxx@lists.osr.com
Event tracing for windows does everything you need. Search this list for the
various discussions (ETW probably works).
=====================
Mark Roddy
-----Original Message-----
From: Lyndon J Clarke [mailto:xxxxx@neverfailgroup.com]
Sent: Wednesday, August 04, 2004 8:28 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] DbgPrint to File
event log?
“Rikki Tamayo” wrote in message news:xxxxx@ntdev…
> Thank you for your answers, maybe at the moment using the Debugview
> Application will suffice. But in the future, the customer is
> requesting
that
> a logging function be added to the driver. The easiest way I can think
> of
is
> redirecting the dbgprint output. Anyways, maybe I’ll jut try to
> emulate
the
> functionality of the dbgprint function but to a log file. Is there any
> samples out there that also does logging to the filesystem? If there
> is,
any
> pointers or information will be highly helpful.
>
> Best regards,
> Rikki Tamayo
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Girish
> Kulkarni
> (kulkis)
> Sent: Wednesday, August 04, 2004 4:22 PM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] DbgPrint to File
>
> Or if you are connected to a debugger, you can Log that to a file as
> well …
>
> -g
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Raj Varada
> Sent: Wednesday, August 04, 2004 1:03 PM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] DbgPrint to File
>
>
> Rikki Tamayo wrote:
>
> >
> > Is there a simple way to redirect DbgPrint Output to a file?
> >
>
> DebugView (http://www.sysinternals.com/ntw2k/freeware/debugview.shtml)
> has a “Log To File” option. Running it should be simple enough.
>
> R
>
> –
> http://www.KernelOne.com
> Secure @ Windows Core
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@cisco.com To
> unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@omron.com.ph To
> unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
Do you want to intercept only your driver’s output? Then just don’t call
DbgPrint and use your own debugging function that will write to a file.
Simpler, I guess.
Mat
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Rikki Tamayo
Sent: Wednesday, August 04, 2004 4:49 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] DbgPrint to File
Thank you for your answers, maybe at the moment using the Debugview
Application will suffice. But in the future, the customer is requesting that
a logging function be added to the driver. The easiest way I can think of is
redirecting the dbgprint output. Anyways, maybe I’ll jut try to emulate the
functionality of the dbgprint function but to a log file. Is there any
samples out there that also does logging to the filesystem? If there is, any
pointers or information will be highly helpful.
Best regards,
Rikki Tamayo
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Girish Kulkarni
(kulkis)
Sent: Wednesday, August 04, 2004 4:22 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] DbgPrint to File
Or if you are connected to a debugger, you can Log that to a file as well
…
-g
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Raj Varada
Sent: Wednesday, August 04, 2004 1:03 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] DbgPrint to File
Rikki Tamayo wrote:
Is there a simple way to redirect DbgPrint Output to a file?
DebugView (http://www.sysinternals.com/ntw2k/freeware/debugview.shtml)
has a “Log To File” option. Running it should be simple enough.
R
–
http://www.KernelOne.com
Secure @ Windows Core
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@cisco.com To unsubscribe
send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@omron.com.ph To
unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@encentrus.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Also just go to the MSDN oe www.microsoft.com and do a search for
“Software Tracing” or “WPP” or “Event Tracing” the hits quickly show you
the driver related entries.
Some starters are below but there are quite a few references
Enabling Drivers with Event Tracing for Windows
http://www.microsoft.com/whdc/devtools/tools/EventTrace.mspx
Software Tracing
http://download.microsoft.com/download/5/b/5/5b5bec17-ea71-4653-9539-204
a672f11cf/Software_Tracing.ppt
Event Tracing
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/perfmon
/base/event_tracing.asp
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Roddy, Mark
Sent: Wednesday, August 04, 2004 6:06 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] DbgPrint to File
Event tracing for windows does everything you need. Search this list for
the
various discussions (ETW probably works).
=====================
Mark Roddy
-----Original Message-----
From: Lyndon J Clarke [mailto:xxxxx@neverfailgroup.com]
Sent: Wednesday, August 04, 2004 8:28 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] DbgPrint to File
event log?
“Rikki Tamayo” wrote in message
news:xxxxx@ntdev…
> Thank you for your answers, maybe at the moment using the Debugview
> Application will suffice. But in the future, the customer is
> requesting
that
> a logging function be added to the driver. The easiest way I can think
> of
is
> redirecting the dbgprint output. Anyways, maybe I’ll jut try to
> emulate
the
> functionality of the dbgprint function but to a log file. Is there any
> samples out there that also does logging to the filesystem? If there
> is,
any
> pointers or information will be highly helpful.
>
> Best regards,
> Rikki Tamayo
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Girish
> Kulkarni
> (kulkis)
> Sent: Wednesday, August 04, 2004 4:22 PM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] DbgPrint to File
>
> Or if you are connected to a debugger, you can Log that to a file as
> well …
>
> -g
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Raj Varada
> Sent: Wednesday, August 04, 2004 1:03 PM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] DbgPrint to File
>
>
> Rikki Tamayo wrote:
>
> >
> > Is there a simple way to redirect DbgPrint Output to a file?
> >
>
> DebugView (http://www.sysinternals.com/ntw2k/freeware/debugview.shtml)
> has a “Log To File” option. Running it should be simple enough.
>
> R
>
> –
> http://www.KernelOne.com
> Secure @ Windows Core
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@cisco.com To
> unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@omron.com.ph To
> unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
ZwCreateFile… but event tracing, or some “official method”
is a much better idea since you have to rely on the FS to be loaded and
such issues that add much complexity to your driver.
----- Original Message -----
From: Rikki Tamayo
To: Windows System Software Devs Interest List
Sent: Wednesday, August 04, 2004 12:10 AM
Subject: [ntdev] DbgPrint to File
Hello Everybody,
Is there a simple way to redirect DbgPrint Output to a file?
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@hotmail.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Dear Everybody,
Thank you very much for your responses, i will investigate using Event
tracing for windows. i think this will work ver well for my application.
Best Regards,
Rikki Tamayo
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Rikki Tamayo
Sent: Wednesday, August 04, 2004 3:11 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] DbgPrint to File
Hello Everybody,
Is there a simple way to redirect DbgPrint Output to a file?
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@omron.com.ph
To unsubscribe send a blank email to xxxxx@lists.osr.com