Filter java

// set a filter
logger.setFilter(filter);

// get a filter
Filter filter = logger.getFilter();
SAMER SAEID