Skip to content

How to see logs at global level? #1728

Description

@d-s-dc

Suppose I have a following global_settings.py file.

logging.info("Setting global variables")
blob_name = "stgblob"
mongo_url = ""
logging.info("Global variables initialized")

And I import these in the function_app.py

from global_settings import blob_name, mongo_url

... function code

I am unable to see the logs while running locally on vscode. Can anyone help me tell how to see them? I have tried func host start --verbose and settings default logging level to information in host.json but it didn't work.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions