az feedback auto-generates most of the information requested below, as of CLI version 2.0.62
Describe the bug
Command Name
az webapp log tail
Errors:
The command failed with an unexpected error. Here is the traceback:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/opt/az/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/opt/az/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/appservice/custom.py", line 2345, in _get_log
.decode(std_encoding, errors='replace'), end='') # each line of log has CRLF.
File "/opt/az/lib/python3.6/logging/init.py", line 1320, in warning
self._log(WARNING, msg, args, **kwargs)
TypeError: _log() got an unexpected keyword argument 'end'
To Reproduce
z webapp log tail --resource-group learn-565a662c-2e49-4d9a-9fab-7db9d0ac5631 --name
Expected behavior
Receive the "Welcome, you are now connected to log-streaming service" message.
Environment summary
Describe the bug
Command Name
az webapp log tail
Errors:
The command failed with an unexpected error. Here is the traceback:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/opt/az/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/opt/az/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/appservice/custom.py", line 2345, in _get_log
.decode(std_encoding, errors='replace'), end='') # each line of log has CRLF.
File "/opt/az/lib/python3.6/logging/init.py", line 1320, in warning
self._log(WARNING, msg, args, **kwargs)
TypeError: _log() got an unexpected keyword argument 'end'
To Reproduce
z webapp log tail --resource-group learn-565a662c-2e49-4d9a-9fab-7db9d0ac5631 --name
Expected behavior
Receive the "Welcome, you are now connected to log-streaming service" message.
Environment summary