Diagnostic logging can help identify and isolate issues as they occur in our server farm. We can go with default settings when we configure diagnostic logging on new installations. When issues occur in our server farm, we can return to these settings and adjust the levels accordingly. This will help to identify the cause and isolate the issues. Usage and health reporting can be used to show where diagnostic logging settings deviate from the default values.
Configure usage and health data collection by using Central Administration
As you know, the usage and health data settings are farm-wide and cannot be set for individual servers in the farm. Please use the following procedure to configure usage and health data collection using Central Administration.
In the Usage data collection settings section, type the path of the folder to which we want usage and health information written in the Log file location box. The path that we specify must exist on each server in the farm. These settings are applied to all events. To set event collection settings for individual event types, we must use Windows PowerShell.
Type the maximum disk space (between 1 and 20 GB) for the logs in the Maximum log file size box.
In the Health data collection section, select the Enable health data collection check box. To change the collection schedules, click Health Logging Schedule. A list of timer jobs that collect health data is listed. Click any of the timer jobs to change its schedule, or disable that timer job.
In the Logging Database Server section, to change the authentication method, select either the Windows authentication or SQL authentication option.
Configure usage data collection using Windows PowerShell
Enable usage data logging by typing: LoggingEnabled 1. Specify the maximum amount of drive space used for logging with the UsageLogMaxSpaceGB parameter.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: