Chinaunix首页 | 论坛 | 博客
  • 博客访问: 9214888
  • 博文数量: 187
  • 博客积分: 7517
  • 博客等级: 少将
  • 技术积分: 1981
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-20 18:51
文章分类

全部博文(187)

文章存档

2015年(3)

2013年(4)

2012年(20)

2011年(2)

2010年(96)

2009年(14)

2008年(47)

2007年(1)

我的朋友

分类: WINDOWS

2008-04-03 14:34:27

在WindowsTime 服务中启用调试日志 :
1. 启动注册表编辑器。
2. 找到并单击以下注册表项:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config
3. 在 " 编辑 " 菜单, 单击 新值 , 然后添加以下注册表值:
值名称: FileLogSize
数据类型: DWORD
值数据: 10000000

此注册表值指定为日志文件大小以字节。
10000000 字节值将限制日志文件以大约 10 MB。
值名称: FileLogName
String 数据类型:
值数据: C:\Windows\Temp\w32time.log

此注册表值指定的日志文件位置。 路径不是固定。 您可使用不同的路径。
值名称: FileLogEntries
String 数据类型:
值: 0 - 116

此注册表值指定调试日志中信息的详细程度。 如果您必须有更详细日志信息, 请联系 Microsoft 支持专家。

注意 : 数据类型值必须属于类型 REG _ SZ (String)。 必须严格按所示键入值 (即, 类型 0-116 ). 高可能值为 300 0 - 为最详细日志。 此值的含义是: 日志的 0 和 116 范围内所有条目。

这篇文章中的信息适用于:
Microsoft Windows Server 2003, 64-Bit Datacenter Edition
Microsoft Windows Server 2003, Enterprise x64 Edition
Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
Microsoft Windows Server 2003, Standard Edition (32-bit x86)
Microsoft Windows Server 2003, Web Edition
Microsoft Windows XP Professional
Microsoft Windows XP Home Edition
Microsoft Windows Small Business Server 2003 Premium Edition
Microsoft Windows Small Business Server 2003 Standard Edition
Windows Server 2008 Datacenter without Hyper-V
Windows Server 2008 Enterprise without Hyper-V
Windows Server 2008 for Itanium-Based Systems
Windows Server 2008 Standard without Hyper-V
Windows Server 2008 Datacenter
Windows Server 2008 Enterprise
Windows Server 2008 Standard
Windows Web Server 2008
阅读(1308) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~