Hi,all:

The below is my logger define:

 private final static String SERV_LOG_PATH =
"/data/data/com.mid/serv%u.log";
 private final static String ERR_LOG_PATH = "/data/data/com.mid/error.log";
static {
        try {

            // init to error logger
            servLogger = Logger.getLogger("service");
            FileHandler servHandler = new FileHandler(SERV_LOG_PATH, 1024,
5, true);
            servHandler.setFormatter(new SimpleFormatter());
            servLogger.addHandler(servHandler);
            errLogger = Logger.getLogger("error");
            FileHandler errorHandler = new
FileHandler(ERR_LOG_PATH,1024,1,true);
            errorHandler.setFormatter(new SimpleFormatter());
            errLogger.addHandler(errorHandler);

        } catch (IOException e) {
            Log.e("TAG", e.toString());
        }
    }
----------------------------------------------------------------------------------------------------------------------------
I user the servLogger.info() to record my log info ,but the log file can`nt
record the most log,so what happen ?
Anyboy can help me!

THX!!

-- 
Boern Z

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to