Table of Contents

 

Over the past few weeks, some of our readers have encountered a known error code with the dfsr debug log location. This problem can arise for several reasons. Now let’s talk about some of them.

 

 

protocol

  • 2 to read

This article explains how to change these DFSR debug log settings using WMI, WMIC CLI.

Symptoms

Debug logging by default and DFSR is already enabled in the settings, detailed enough to document up to 100 files with 200,000 lines in the% windir% debug folder, even as a compressed Winzip compatible file: DFSRxxxxx. log.gz and DFSRxxxxx .log (in use). In any case, it will take about 75-100 MB of hard disk space and will be a kind of chronicle of DFSR activity. In some terminologies, it may be necessary to troubleshoot to expand this history as older important information will be overwritten. Recommended

These debug log settings can still be changed using the WMI WMIC CLI.

Changes are immediately applied by the DFSR service process without restarting DFSR.

NOTE. The default severity of 4 is often sufficient for more serious problems.

dfsr debug log location

You can also see my debug log settings in the in header associated with each log file:

  • FRS protocol sequence: c Index: 6 Computer: DFSRMember1 Time Zone: W. Europe Daylight (GMT + -2: 00) Build Time: [23 Nov 05 00:36:45 built: dnsrv_r2] Company = 1
  • Level zhuRnala configuration: five maxEntryCount: 400000 maxFileCount: 200 LogPath: . WINDOWS debug

More C: Information

Most are 10,000 in Windows Server 2003 R2 and 100,000 in any newer operating system. The default is typically 100 for logs for Windows Server 2002 R2 and Windows Server 2008, and 1000 for logs for Windows Server 08 R2 and later operating systems.

Disclaimer

Microsoft and / or its suppliers make no representations, warranties or warranties as to the suitability, reliability, or even accuracy of the information contained in documents and associated graphics (“Materials”) provided on this website … complete for any purpose. Documents may contain technical inaccuracies or typographical errors and are subject to change at any time without prior notice.

dfsr debug log location

To the fullest extent permitted by applicable law, Microsoft and / or its suppliers disclaim virtually all statements, warranties and conditions express, offered or statutory, including, but not limited to, statements, warranties and warranties.anti. or conditions. Ownership, no infringement, satisfactory condition or high quality and merchantability, suitability for a specific purpose in relation to the material itself.

The path must have been manually created earlier, if not available, the standard selling price% windir% debug will be used.

While the PC registry value does not exist by default, unless verbose event logging is normally enabled, the following events will fall back to your current events:

This object monitors the initialization of a new DFS Replication debug log and can issue a warning if it detects a DFS Replication failure while the log needs to be initialized.

Knowledge Base Article:

Element ID:

  

Source ID = "Microsoft.Windows.FileServer.DFSR.DebugLogInitFailedMonitor" Accessibility = "Public" Enabled = "true" Target = "Microsoft.Windows.FileServer.DFSR.Service" ParentMonitorID = "Microsoft.Windows.FileServer.DFSR .LoggingAggregateMonitor "Remotable =" true "Priority =" Normal "TypeID =" Windows! Microsoft.Windows.2SingleEventLog2StateMonitorType "ConfirmDelivery =" true ">
Report Collection

Warning
true
Normal
Warning

$ Data / Context / EventDescription $







$ Target / Host / Property [Type = "Windows! Microsoft .Windows.Computer"] / NetworkName $
DFS Replication





EventDisplayNumber

Equals

1312






Publisher name

Equals

DFSR





$ Target / Host / Property [Type = "Windows! Microsoft.Windows.Computer"] / NetworkName $
DFS Replication





Publisher name

Equals

DFSR








EventDisplayNumber

Equals

1314






EventDisplayNumber

Equals

1004









 

 

These are compressed DFSR debug logs that show a specific history of DFSR activity. The most recent one is uncompressed. You can check the log creation time to find out the age of these logs and delete the oldest ones. If these logs are definitely taking up too much space, just create them there.

Alternative Method: Logging in Event Viewer Start Event Viewer. Select View Show Analysis and Debug Logs. Go to Event Viewer (Local) Application and Service Logs Microsoft User Experience Virtualization Application Agent. In the Application Agent section, right-click Debug and select Enable Logging.