Microsoft KB Archive/304543

= Cdir_ldp.exe Logs Additional Information in the Ldscript.log File =

Article ID: 304543

Article Last Modified on 1/25/2006

-

APPLIES TO


 * Microsoft Metadirectory Services 2.1
 * Microsoft Metadirectory Services 2.2 Service Pack 1
 * Microsoft Metadirectory Services 2.2 Service Pack 1

-



This article was previously published under Q304543



SUMMARY
There is an additional log file that is located in the Zoomserv\Data\Logs folder. The Ldscript.log file may be useful when you are trying to troubleshoot management agents that use the Cdir_LDP.EXE, such as the Microsoft Exchange LDAP and Netscape management agents. This article describes how to increase the logging detail level on this file to troubleshoot LDAP issues.



Turning up Logging for Ldscript.log
 Go to the Zoomserv\data\config folder. Right-click the Logcfg file, and then click Open.  In the Open With dialog box, choose Notepad to open the file.

The config file looks like the following sample when you open it in Notepad: ###################################################################### log_file_name          genlogs log_level_to_console   -1 log_level_to_file      0 log_level_to_eventlog  0 log_max_bytes_in_file  500000 log_log                loglogs log_smf                smflogs log_pe                 pelog log_vmb                vmb.log log_zscr               zscrlog log_zst                vnslog log_cdir_ln            lnscript.log log_sync               sync.log log_access             access.log log_cdir_ldp           ldscript.log log_dns            dns.log log_dhcp               dhcp.log log_smtpin             smtpin.log log_smtpout            smtpout.log log_viars              viars.log log_bind               bind.log log_httplog            http.log log_smtpinmsg          smtpinmsg.log log_smtpoutdsn         smtpoutdsn.log   To increase the logging level edit the following lines by changing   log_level_to_file       0 to:   log_level_to_file       3 You can increase this number should as you need more detailed logging. The logging levels are -1 to 9.  Save and close the file.</li></ol>
 * 1)  FILE:  logcfg
 * 2)  Description:  Configuration file for the LOG module
 * 1)  Description:  Configuration file for the LOG module
 * 1) specific module log files
 * 1) specific module log files

Increasing the Size of the Log Files
It should be noted that this setting affects all log files and not just the Ldscript.log file.

In many cases, increasing the level of log detail can ultimately cause the file to roll over more quickly and there may be data loss as a result. The default maximum log file size is 500 kilobytes (KB) or 500,000 bytes. It is suggested that the default size of the log files be adjusted upward for troubleshooting and then reduced after you have resolved the issue. The amount of available disk space should also be considered before you adjust the default maximum log file size.

To increase the maximum size of the log files: <ol> Go to the Zoomserv\data\config folder.</li> Right-click the Logcfg file, click Open, and then use Notepad to open the file.</li>  Find the line and change the default maximum file size from 5 MB to 50 MB by changing <pre class="fixed_text"> log_max_bytes_in_file   500000 to: <pre class="fixed_text">  log_max_bytes_in_file   5000000 </li> Save and close the file.</li></ol>

Additional query words: mms zoomit

Keywords: kbinfo kbenv KB304543

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.