This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
日志文件
安装日志
当 StoreFront 安装或卸载时,StoreFront 安装程序会在 C:\Windows\Temp\StoreFront 目录中创建以下日志文件。文件名反映了创建它们的组件并包含时间戳。
- Citrix-DeliveryServicesRoleManager-*.log — 在交互式安装 StoreFront 时创建。
- Citrix-DeliveryServicesSetupConsole-*.log — 在静默安装 StoreFront 时以及在交互式或静默卸载 StoreFront 时创建。
- CitrixMsi-CitrixStoreFront-x64-*.log — 在交互式或静默安装和卸载 StoreFront 时创建。
PowerShell 和管理控制台日志
通过 PowerShell 或管理控制台进行的配置更改会记录在 C:\Program Files\Citrix\Receiver StoreFront\Admin\logs 中。日志文件名包含命令操作和主题,以及可用于区分命令序列的时间戳。
诊断日志记录
StoreFront 将诊断日志写入 c:\Program Files\Citrix\Receiver StoreFront\admin\trace

默认情况下,会记录 Error、Warning 和 Info 级别的消息。在大多数情况下,这包含足够的信息来诊断任何问题。
要使用 PowerShell 自定义日志记录,请运行 cmdlet Set-STFDiagnostics。
-
StoreFront 为每个服务写入一个单独的日志文件。默认情况下,每个日志文件最大为 200MB,并且 StoreFront 会为每个服务写入最多五个日志文件,然后清除旧日志文件。如果需要自定义写入的日志大小或数量,可以使用
-FileSizeKb和-FileCount参数进行操作。 -
要更改记录的详细信息级别,请使用参数
-TraceLevel。允许的值为Off、Error、Warning、Info或Verbose。 -
要为所有服务设置日志记录参数,请使用参数
-All。可以使用-Service [Service name]为单个服务自定义日志记录。
详细日志记录
您可以启用额外的详细日志记录以用于故障排除。仅当 Citrix® 支持人员要求时才需要这样做。这可能会影响性能,因此,故障排除完成后,应将 TraceLevel 恢复为 Info。
要启用详细日志记录:
-
使用具有本地管理员权限的帐户,启动 Windows PowerShell
-
输入命令:
Set-STFDiagnostics -All -TraceLevel "Verbose" -confirm:$False <!--NeedCopy-->这会为所有服务启用“Verbose”日志记录,而无需确认提示。输入此命令后,它会重新启动 StoreFront 服务。等待 PowerShell 提示符返回以验证服务是否已完成重新启动。在这些服务重新启动期间,用户将无法访问 StoreFront 服务器。
-
重现问题以创建日志。
-
将所有服务的日志记录级别恢复为默认值
Set-STFDiagnostics -All -TraceLevel "Info" -confirm:$False <!--NeedCopy-->
IIS 日志文件
默认情况下,IIS 会将每个请求的日志写入 %SystemDrive%\inetpub\logs\LogFiles。有关详细信息,请参阅 Microsoft 文档。
共享
共享
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.