Skip to content

[Question]How to configure log level for pulsar functions #3259

Description

@ngjaying

This may be a dumb question but I cannot find how to do.

org.slf4j.Logger logger = context.getLogger();
logger.debug("debug message");

I cannot find how to enable the debug message. I try to modify conf/log4j2.yaml to change all INFO to DEBUG, but that seems only affect broker log.

System configuration

Pulsar version: 2.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions