Skip to content

Documentation: --log-level=verbose causes web UI to exit with no message #1314

Description

@nielm

Documentation suggests to use log-level VERBOSE:

https://github.com/search?q=repo%3AGoogleCloudPlatform%2Fspanner-migration-tool+%2Flog+level+.*+verbose%2F&type=code

But running the following command causes the tool to exit with no log message and status 0 - success

gcloud alpha spanner migrate web --log-level=debug --log-level=verbose

This may be because the zap log library does not support a "verbose" level, and it should be "debug", the log library fails to initialize, but the error is sent to the log library to be reported...

logger.Log.Info(fmt.Sprintf("FATAL error, unable to start webapp: %s", err))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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