Функция AKS Python Azure — журнал консоли без отметки времениPython

Программы на Python
Ответить
Anonymous
 Функция AKS Python Azure — журнал консоли без отметки времени

Сообщение Anonymous »

Это результат работы функции Azure, работающей в модуле Kubernetes.
Как включить временную метку в моих журналах?

Могу ли я ее получить строка журнала для каждого сообщения вместо двух?
info: Function.name_of_the_function.User[0]
this is the info message from the function...
info: Function.name_of_the_function.User[0]
this is the info message from the function...
info: Function.name_of_the_function.User[0]
this is the info message from the function...
info: Function.name_of_the_function.User[0]
this is the info message from the function...

Вот мой файл hosts.json
"logging": {
"applicationInsights": {
"samplingSettings": {
"isEnabled": false,
"excludedTypes": "Request"
}
},
"console": {
"isEnabled": "false",
"DisableColors": true
},
"fileLoggingMode": "always",
"logLevel": {
"Host": "Warning",
"Function": "Warning",
"Function.solr_catalog": "Warning",
"Function.solr_catalog.User": "Information",
"Azure.Core": "Warning",
"Azure.Messaging": "Warning",
"default": "none"
}
},


Подробнее здесь: https://stackoverflow.com/questions/791 ... -timestamp
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Python»