import java.util.logging.LogRecord; public class ClientFilter implements java.util.logging.Filter { public boolean isLoggable(LogRecord record) { if (record.getMessage().startsWith("client")) return (true); else return (false); } }