public AccountManagerHandler(AccountManager target){
        try {
            logger.addHandler(new java.util.logging.FileHandler());
//            logger.addHandler(new java.util.logging.ConsoleHandler());
        } catch (SecurityException e) {
            logger.warning(e.toString());
        } catch (IOException e) {
            logger.warning(e.toString());
        }
        this.target = target;
    }