Re: ADAM 'Diagnostics' registry key

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Dmitri Gavrilov [MSFT] (dmitrig_at_online.microsoft.com)
Date: 03/01/04


Date: Mon, 1 Mar 2004 00:05:37 -0800


/* Event severity constants */
#define DS_EVENT_SEV_ALWAYS 0
#define DS_EVENT_SEV_MINIMAL 1
#define DS_EVENT_SEV_BASIC 2
#define DS_EVENT_SEV_EXTENSIVE 3
#define DS_EVENT_SEV_VERBOSE 4
#define DS_EVENT_SEV_INTERNAL 5

Like Eric said :)

DS logs hundreds of events, and each event is logged using one of the
severity constants above. Plus each event falls into one of 24 categories.
So, it's basically hardcoded. If you want to see all possible events, then
you set each value to 5. But your ADAM log will pretty soon overflow, if you
have any kind of load on your server. We recommend keeping all levels at
zero. When we need to troubleshoot a problem, we'd tell you to bump the
logging level on some categories, to see what's up. And then you reset it to
zero.

-- 
Dmitri Gavrilov
SDE, Active Directory Core
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Eric Fleischman [MSFT]" <efleis@online.microsoft.com> wrote in message
news:uTntSHY$DHA.320@TK2MSFTNGP10.phx.gbl...
> 1 = little
> 2 = more than 1
> 3 = a bit more than 2, but less than 4
> 4 = almost as much as 5
> 5 = a lot
>
> :-)
> I'm sorry, there is no magical formula. It is component specific and such.
> They increase diagnostic logging. I usually say to go to 4 or 5, and
> mentally filter out the stuff you don't understand (as you may not
> understand how the component works under the hood).
>
> ~Eric
>
>
> -- 
> Eric Fleischman [MSFT]
> This posting is provided "AS IS" with no warranties, and confers no rights
> Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
>
>
> "MattW" <anonymous@discussions.microsoft.com> wrote in message
> news:96A77ACD-34EE-41BA-97D6-083D5B27628C@microsoft.com...
> > Can you shed some light on what the levels are?
> > Example:
> > 1 =
> > 2 =
> > 3 =
> > 4 =
> > 5 =
> >
> > Thanks!!
> >
> >      ----- Eric Fleischman [MSFT] wrote: -----
> >
> >      Answers inline.....
> >
> >      -- 
> >      Eric Fleischman [MSFT]
> >      This posting is provided "AS IS" with no warranties, and confers no
> rights
> >      Use of included script samples are subject to the terms specified
at
> >      http://www.microsoft.com/info/cpyright.htm
> >
> >
> >      "MattW" <anonymous@discussions.microsoft.com> wrote in message
> >      news:ABACE2D4-28C7-4E40-BC7B-7AAA811E17B1@microsoft.com...
> >      > Hi,
> >      >> I am interested in the settings and use of the 'Diagnostics'
> registry key
> >      that is created under the service account entry in the registry
after
> >      installing ADAM. Example of registry key:
> >      >>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ADAM_(service
> >      name)\Diagnostics
> >      >> It looks as though one can set a value other than 0 for each of
> the
> >      diagnostics and it will provide some debug or logging information
on
> the
> >      particular ADAM instance. My questions are:
> >      >> 1. What are the value(s) that can be placed in the registry for
> each
> >      diagnostic.
> >      [EFLEIS] - Typically 0 - 5 but there are exceptions too. But 0-5 is
a
> good
> >      guideline.
> >
> >      > 2. Are there different levels of logging/debugging?
> >      [EFLIES] - Yup. As I said above, typically 0-5
> >
> >      > 3. Where does this information show up? In the ADAM log file in
> Event
> >      Viewer?
> >      [EFLEIS] - Yes, it will show up in the logs.
> >
> >      >> Any infromation you can shed on this registry entry would be
> greatly
> >      appreciated.
> >      >> Matt
> >
> >
> >
>
>


Relevant Pages

  • Re: Vista Registry Transactions
    ... I was just trying to understand the Kernel Transaction in Vista. ... Opened Registry Key using RegOpenKeyTransacted ... ProcMon never gave logs that system has ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Platform Manager
    ... Thanks, again, Michael! ... I get the following in the logs on my ... If anyone can suggest what piece might be missing, what registry key might ... >> Paul T. ...
    (microsoft.public.windowsce.embedded.vc)
  • Vista Registry Transactions
    ... I was just trying to understand the Kernel Transaction in Vista. ... Opened Registry Key using RegOpenKeyTransacted ... ProcMon never gave logs that system has ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Vista Registry Transactions
    ... I was just trying to understand the Kernel Transaction in Vista. ... Opened Registry Key using RegOpenKeyTransacted ... ProcMon never gave logs that system has ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Cannot locate license server
    ... License Server as the registry key or its IP address, ... > But still I am unable to open a client session on TS1 who logs ... > network traffic at all between TS1 and TSLIC when a client tries ...
    (microsoft.public.windows.terminal_services)