Skip to content

helpers.create_subscription() Subscribes To Own Stdout/Stderr #34

Description

@squatched

I believe the appropriate response here is to return after this debug statement rather than dropping through to the next conditional. (Or change the next conditional from 'if' to 'elif'.)

# We cannot subscribe to the log group that our stdout/err goes to.
if context.log_group_name == log_group_name:
logger.debug("Skipping our own log group name...")
# And we do not want to subscribe to other Humio log ingesters - if there are any.
if "HumioCloudWatchLogsIngester" in log_group_name:

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions