Merge "Don't allow Exchange logger to recurse on failure" into froyo
This commit is contained in:
commit
d8a4e4d25d
@ -106,8 +106,12 @@ public class FileLogger {
|
|||||||
// If the card is mounted and we can create the writer, retry
|
// If the card is mounted and we can create the writer, retry
|
||||||
LOGGER = new FileLogger();
|
LOGGER = new FileLogger();
|
||||||
if (sLogWriter != null) {
|
if (sLogWriter != null) {
|
||||||
log("FileLogger", "Exception writing log; recreating...");
|
try {
|
||||||
log(prefix, str);
|
log("FileLogger", "Exception writing log; recreating...");
|
||||||
|
log(prefix, str);
|
||||||
|
} catch (Exception e1) {
|
||||||
|
// Nothing to do at this point
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user