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

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -