Skip to content

webapp:az webapp log tail issue #18020

@rcarbajal01

Description

@rcarbajal01

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

Metadata

Metadata

Labels

Service AttentionThis issue is responsible by Azure service team.Web Appsaz webapp

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions