Skip to content

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

@squatched

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:

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