MDT2010新功能(1)在网络共享上直接记录日志

老规矩了
原帖地址:http://blogs.technet.com/mniehaus/archive/2009/06/26/mdt-2010-new-feature-1-logging-directly-to-the-network.aspx

话说Win7已经RTM,WAIK也正式发布,MDT2010也已经beta 2,我也该活动活动了哈。

This is the first in what will probably end up being a long series of posts talking about new features in MDT 2010.  These won’t be in any particular order, and I’m sure I’ll miss some so don’t consider this an exhaustive list either.
本文是MDT2010新功能系列文章的首篇。我不会以某个特定顺序来写,而且我肯定我会遗忘某些东西,所以别指望我会列出一个清单来

First up is a new variable, SLShareDynamicLogging.
首先是一个新的变量,SLShareDynamicLogging。

 If you set this in CustomSettings.ini to a network path using something like this:
SLShareDynamicLogging=\\server\share\%OSDComputerName%
you’l see something interesting when the deployment is executing.  As the deployment progresses, each line being written to the local BDD.LOG on the local computer will also be written to the network location.  That will allow you to use something like TRACE32.EXE ( http://www.microsoft.com/downloads/details.aspx?FamilyID=948e477e-fd3b-4a09-9015-141683c7ad5f&DisplayLang=en) to follow the progress of the deployment in real time, instead of waiting for the process to complete so that you can check the BDD.LOG.
如果你在Customsettings.ini里设置了如下的变量:
SLShareDynamicLogging=\\server\share\%OSDComputerName%
你将在部署执行过程中看到一些有趣的东西:在部署过程中,本地计算机的BDD.log将和你填写的网络共享上同时写入日志。这有什么好处呢?好处就是你可以用诸如Trace32这样的工具来监视部署进程,而不是等部署结束后再来查看日志。

This doesn’t affect the local log file, which will still be written to as well.
当然,这个变量不会影响本地的日志文件。
This will work for both Lite Touch and ConfigMgr deployments. 
这个属性对LTI和ZTI同时有效(MDT2010里已经不支持SMS2003)
Because of the amount of network traffic that could be generated opening, writing, and closing the file for each log line, I wouldn’t recommend using this in production environments when you are performing lots of updates, but it could be very useful in lab environments.
由于在为每一条日志生成、写入和关闭文件会产生大量的网络流量,我并不建议在生产环境中使用这个功能,但在实验时,这个功能会非常有用
Published Friday, June 26, 2009 8:57 PM by mniehaus

你可能感兴趣的:(职场,休闲,MDT2010)