Skip to content

non-run CLI commands log output without context #3105

@antoniivanov

Description

@antoniivanov

Describe the bug

When I install vdk-structlog

CLI commands like vdk deploy, vdk info have following detailed logs:

vdk server -s
2024-02-12 17:12:37,063 [VDK] [INFO ] vdk.internal.cli_entry                 cli_entry.py :135  vdk_main         - Start CLI vdk with args ['server', '-s']
2024-02-12 17:12:37,304 [VDK] [INFO ] vdk.plugin.server.installer            installer.py :109  check_status     - The Versatile Data Kit Control Service is installed and running.
2024-02-12 17:12:37,304 [VDK] [INFO ] vdk.plugin.server.installer            installer.py :110  check_status     - Access the REST API at http://localhost:8092/data-jobs/swagger-ui.html

While this is ok for running a data job, the context is unnecessary and spam for other commands (unless you are vdk developer and they are not the target user)
If I uninstall vdk-structlog it shows as before:

➭ vdk server -s              
The Versatile Data Kit Control Service is installed and running.
Access the REST API at http://localhost:8092/data-jobs/swagger-ui.html

I think we should make sure that non-run logs are as before. You get more spammy/verbose logs when you use vdk -v DEBUG command for example .

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions