# Troubleshooting

#### Debug Logging Levels

For both Client and Server, Debug Logging has 6 levels

1 = Errors Only&#x20;

2 = Warning&#x20;

3 = OK&#x20;

4 = Informative&#x20;

5 = Debug&#x20;

This is set via the Configuration value:

`<add key="EnableDebugLog" value="n"/>`&#x20;

{% hint style="warning" %}
WARNING – Debug Logging should not be enabled on a production server for anything other than troubleshooting purposes and should only ever be run for a maximum of about 5 minutes at a time before disabling (0)
{% endhint %}

#### StifleR Server

1. Logs – there are many!

   1. Enable at installation using DEBUGLOG=n .msi switch (n Debug levels 1-6 available)
   2. Enable after installation by editing the **StifleR.Service.exe.config** file –&#x20;

   `<add key="EnableDebugLog" value="n"/>` (n Debug levels 1-5 available). Service restart not required
2. StifleR Service events are logged in the Windows Event Log at Event Viewer > Applications and Services Logs > StifleR
3. Verbose logging can be viewed (for a short time only!) through a command window by running the executable directly in Interactive Mode. You must stop the Service first! **TIP** – If you have an installation that does not complete or a service that refuses to start. Fire up the executable in interactive mode and check any error messages that appear.
4. WMI See this guide and the 2Pint KB
5. Dashboards – Lots of information in the Dashboards to help with troubleshooting. The Performance Dashboard in particular gives you some at a glance Server health information
6. Power Shell troubleshooting script (contact 2Pint Support for the latest)

#### Dashboards and Access Check

You can test access to StifleR using the following URLs –&#x20;

http(s)://FQDN.OF.STIFLER.SERVER:9000/api/test&#x20;

Which will list the group membership and access rights of the current user&#x20;

http(s)://FQDN.OF.STIFLER.SERVER /stiflerdashboard/ce.png&#x20;

Which, if working correctly, will show the .png 2Pint Software Logo image from the dashboard folder.

#### StifleR Client&#x20;

1. Client.log

   1. Enable at installation using DEBUGLOG=n .msi switch (n Debug levels 1-6 available)
   2. &#x20;Enable after installation by editing the StifleR.ClientApp.exe.config file –&#x20;

   `<add key="EnableDebugLog" value="n"/>` (n Debug levels 1-5 available) Service restart not required
2. StifleR Service events are logged in the Windows Event Log at Event Viewer > Applications and Services Logs > StifleR

#### BITS

Command  Line tool >BITSADMIN

{% hint style="info" %}
NOTE: This is something you should be familiar with if you are testing with BITS technologies associated with 2Pint tech.
{% endhint %}

#### BranchCache etc

1. CMD Line >netsh br show status all – will get you started
2. Microsoft P2P Reporting – see 2Pint KB for how to enable this feature on your test servers
3. 2Pint Reporting Tools – particularly the BITSBCReporter Command Line Tool
4. PowerShell
5. Windows Performance Monitor
6. &#x20;2Pint Software Web site – all manner of tips and tricks
