java - How to use logback filter by this case? -
i have 3 java files:
- asimple.java
- bsimple.java
- csimple.java
asimple.java:
private final logger logger = loggerfactory.getlogger("i logger");
bsimple.java:
private final logger logger = loggerfactory.getlogger("smile");
csimple.java:
private final logger logger = loggerfactory.getlogger("i handsome");
i want print logger name "i am*". (just print asimple.java , csimple.java) not "smile". how change logback.xml?
Comments
Post a Comment