简体   繁体   English

如何访问Azure Service Fabric群集中的日志?

[英]How to access logs in Azure Service Fabric cluster?

I created App package with guest executable without Visual Studio. 我创建了带有来宾可执行文件的App包,而没有Visual Studio。 ConsoleRedirection was also configured to create logs from apps stdout and errout . ConsoleRedirection还配置为从应用程序stdouterrout创建日志。 It works on local Service Fabric cluster. 它适用于本地Service Fabric群集。 And the logs can be located in my file system. 日志可以位于我的文件系统中。 But how can I access these logs in Azure cloud? 但是,如何在Azure云中访问这些日志?

Update: As LoekD pointed out the Remote Desktop Protocol can be used to access nodes in service fabric cluster. 更新:正如LoekD所指出的,远程桌面协议可用于访问服务矩阵群集中的节点。 Admin account name could be located in load balancer's automation script in virtualMachineProfile section. 管理员帐户名称可以位于virtualMachineProfile部分中的负载均衡器的自动化脚本中。

There's a description here which explains how to discover where the log files are stored. 有一个描述在这里解释如何发现其中的日志文件的存储。

You can use RDP to access the machine, which is explained here . 您可以使用RDP来访问计算机,这在此处进行了说明。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM