How to Enable StoreFront Verbose Logging for a single store

How to Enable StoreFront Verbose Logging for a single store

book

Article ID: CTX693167

calendar_today

Updated On:

Description

This article explains how to use PowerShell to enable the native verbose logging for a single Store to collect traces.


Instructions

  1. Run PowerShell as an administrator 
  2. Change Directory to the Scripts directory using the following command: 'C:\Program Files\Citrix\Receiver StoreFront\Scripts'
  3. Run the following to import the modules: .\ImportModules.ps1
  4. Once everything is imported then run the following:
    1. $Store = Get-STFStoreService /Citrix/Store (Replace "/Citrix/Store" with the correct store name)
    2. Set-STFDiagnostics -Service $Store -TraceLevel Verbose 
  5. Location of the logs will be here: C:\Program Files\Citrix\Receiver StoreFront\Admin\trace
  6. To Disable the tracing: Set-STFDiagnostics -Service $Store -TraceLevel off 

Note: you can also add the -FileCount and -FileSizeKB as needed.