vcjmhg commented on issue #4545:
URL: https://github.com/apache/skywalking/issues/4545#issuecomment-702645540
ok, I got it. If do so, we should add an attribute named `filter` to filter
the logs with regular expression. And the `pattern` to control the formate of
the logs.Just like this:
```yaml
logger:
- name: "log4j2"
packages:
- package1
- package2
level: "trace"
pattern: "%date %level [%thread] %logger{10} [%file:%line] %msg%n"
filter:"Regular expression"
- name: "logbak"
packages:
- package3
level: "error"
patterns: "%msg%n"
filter:"Regular expression"
```
Is it ok?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]