天极Yesky
  • 笔记本电脑
    笔记本
  • 台式电脑
    台式机
  • 手机
    手机
  • 电脑硬件DIY
    DIY硬件
  • CPU
    主板
    音箱
  • 硬盘
    显卡
    键鼠
  • 内存光驱
    显示器
    机箱电源

  • 数码相机DC
    数码相机
  • MP3播放器
    MP3/MP4
  • 数码摄像机DV
    摄像机
  • 电脑外设
    外设
  • 网络
    网络
  • 服务器
    服务器
  • 数字家庭
    数字家庭
  • 群乐
    群乐
  • 产品报价 行情 经销商 渠道 评测 | 软件 设计 网页 开发 安全 论坛 E时代 游戏 图片 壁纸 下载 网摘 博客 索尼专区 Vista 科技奥运
    天极网
    Make your system a bigmouth
    作者: Serdar Yegulalp
    出处:
    责任编辑:
    [ 2004-06-17 19:03 ]


    Diagnostic logging is a highly underrated tool for getting to the heart of different sorts of problems. Windows comes with a global switch to enable verbose diagnostic logging (into the system log) for all applications and services that support it.


    To turn on verbose logging:

    1. Open the Registry and navigate to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionpoliciessystem.
    2. Add a new DWORD entry with the name verbosestatus and set the value to 1.
    3. Make sure there is no DWORD entry in the same subkey with the name DisableStatusMessages. If there is, set it to 0.
    4. Restart.

    From this point on, every time the system is started or shut down, or when a user logs off or on, detailed information about the startup/shutdown or about the verification of the user's credentials will be written to the system log. One of the advantages of using this approach is that it involves an easily-leveraged tool that's already built into Windows: the system event log. If you have tools that query the event log automatically (or even manually) you can gather this sort of information from one or even a whole slew of systems that may be experiencing the same problems.

    One possible application for this is analyzing slow startup times: since each log entry is timestamped accurate to the second, you can glean detailed information about where things may be held up. (As a side note, one of the major reasons for slow startups or logons is slow authentication across a network, or DNS queries that resolve to the wrong server.)

    Note that if a particular logging action has no verbose mode, this will not affect anything; this setting simply indicates that any program that writes to the log in both brief and verbose modes should use verbose mode.


    Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter. Check out his Windows 2000 blog at http://www.thegline.com/win2kblog/ for his latest advice and musings on the world of Windows network administrators -- please share your thoughts as well!

    笔名:
    请您注意:

     遵守国家有关法律、法规,尊重网上道德,承担一切因您的行为而直接或间接引起的法律责任。

     天极网拥有管理笔名和留言的一切权利。
    相关内容