英文:
Enable IBM MQ tracing in Azure durable function
问题
我正在尝试在我的Azure可靠函数应用程序(.NET 7,隔离,运行在Windows上)中启用MQ客户端跟踪,但到目前为止我并不成功。
我正在使用IBMMQDotnetClient 9.3.3。
我在应用程序的根目录下放置了一个mqclient.ini文件,其内容如下:
MQDotnetTraceLevel=2
MQDotnetTracePath=C:home\mq_traces
MQDonetErrorPath=C:home\mq_traces_error
并在相应的存储账户中的函数应用程序文件共享中创建了这两个目录。
我无法在这些目录中看到任何文件被创建。
我该如何在Azure函数内使这个.NET客户端的跟踪工作?
英文:
I am trying to enable MQ client tracing in my Azure durable Function App (.NET 7, Isolated, on Windows), but I have not been very successful so far.
I am using IBMMQDotnetClient 9.3.3.
I have placed a mqclient.ini file in the root of the application, with the following contents:
MQDotnetTraceLevel=2
MQDotnetTracePath=C:home\mq_traces
MQDonetErrorPath=C:home\mq_traces_error
and created both directories on my function app file share in the corresponding storage account.
I cannot see any files being created in those directories.
How can I get tracing for this .NET client working inside an Azure function?
答案1
得分: 1
你需要一个Trace
段落,像下面这样:
Trace:
MQDotnetTraceLevel=2
MQDotnetTracePath=C:home\mq_traces
MQDonetErrorPath=C:home\mq_traces_error
这在这里有详细说明。
英文:
You need a Trace
stanza, like the following:
Trace:
MQDotnetTraceLevel=2
MQDotnetTracePath=C:home\mq_traces
MQDonetErrorPath=C:home\mq_traces_error
This is documented here.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论