Log files
Installation Logs
When StoreFront is installed or uninstalled, the following log files are created by the StoreFront installer in the C:\Windows\Temp\StoreFront directory. The file names reflect the components that created them and include time stamps.
- Citrix-DeliveryServicesRoleManager-*.log—Created when StoreFront is installed interactively.
- Citrix-DeliveryServicesSetupConsole-*.log—Created when StoreFront is installed silently and when StoreFront is uninstalled, either interactively or silently.
- CitrixMsi-CitrixStoreFront-x64-*.log—Created when StoreFront is installed and uninstalled, either interactively or silently.
Powershell and management console logs
Configuration changes made through PowerShell or the management console are logged at C:\Program Files\Citrix\Receiver StoreFront\Admin\logs
. The log file names contain command actions and subjects, along with time stamps that can be used to differentiate command sequences.
Diagnostics logging
StoreFront writes diagnostics logs to c:\Program Files\Citrix\Receiver StoreFront\admin\trace
For StoreFront 2311 version and higher, by default, messages of level Error, Warning, and Info are logged. In most cases this includes sufficient information to diagnose any issues.
Note:
In 2308 and earlier versions of StoreFront, by default only messages of level Error are logged.
To customize logging using PowerShell, run cmdlet Set-STFDiagnostics
.
-
StoreFront writes a separate log file for each service. By default, each log file is up to 200Mb and StoreFront writes up to five log files per service before purging old log files. If you need to customize the size or number of logs written then you can do this using the
-FileSizeKb
and-FileCount
parameters. -
To change the level of detail logged use parameter
-TraceLevel
. Allowed values areOff
,Error
,Warning
,Info
, orVerbose
. -
To set the logging parameters for all services, use parameter
-All
. You can customize logging for an individual service using-Service [Service name]
Verbose logging
You can enable additional verbose logging for troubleshooting purposes. This is only required if requested by Citrix support. This may have an impact on performance so you should revert the TraceLevel
to Info
once troubleshooting is complete.
To enable Verbose logging:
-
Using an account with local administrator permissions, start Windows PowerShell
-
Enter command:
Set-STFDiagnostics -All -TraceLevel "Verbose" -confirm:$False <!--NeedCopy-->
Note:
If using StoreFront 2311, you must add the parameter
-Override
.This enables “Verbose” logging for all services, without prompting for confirmation. When this command is entered it restarts the Storefront services. Wait for the PowerShell prompt to return to verify that that the services have finished restarting. While these services are restarting, the StoreFront server will not be accessible by users.
-
Reproduce the issue to create the logs.
-
Set the logging back to default level for all services
Set-STFDiagnostics -All -TraceLevel "Info" -confirm:$False <!--NeedCopy-->
Note:
If using StoreFront 2311, you must add the parameter
-Override
.
IIS log files
By default IIS writes a log of each request to %SystemDrive%\inetpub\logs\LogFiles
. For more information, see Microsoft documentation.