Skip to content

Is it possible to specify a log level per component #107

Open

Description

@no-more

Hi,

Let's say I have 10 components, each one is using this great logger, with lots of debugging logs defined.
Now I have completed 5 of those components in which I don't needs those debug logs anymore, but I don't want to remove them from the code because I could need them again later.
My question is : is there any "simple" way to define a different log level for each component, if none is provided it should be the global log level.

Thanks.

Activity

  1. langley-agm commented on Jan 3, 2017

    @langley-agm
    Contributor

    Hi @no-more ,

    Sadly not right now, it needs the "Support named loggers" part. I haven't got to it because while trying to maintain the same architecture log4j2 has I noticed it was overcomplicated for web clients, i'll try to settle down in the right architecture soon and let you know.

  2. no-more commented on Jan 5, 2017

    @no-more
    Author

    Thanks a lot.

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