Merge commit '82e43ff284eac3767f38e81bf15188021581a8e1' into kraken * commit '82e43ff284eac3767f38e81bf15188021581a8e1': Don't allow Exchange logger to recurse on failure
This commit is contained in:
commit
dd18cfa62a
@ -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