Make the log writer thread a daemon thread
This commit is contained in:
parent
f3a623cf95
commit
90d5961546
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,7 @@ public class Logging extends LogFactory {
|
|||
|
||||
if ((runner == null) || !runner.isAlive()) {
|
||||
runner = new Runner();
|
||||
runner.setDaemon(true);
|
||||
runner.start();
|
||||
}
|
||||
|
||||
|
@ -92,6 +93,7 @@ public class Logging extends LogFactory {
|
|||
public static Log getConsoleLog() {
|
||||
if ((runner == null) || !runner.isAlive()) {
|
||||
runner = new Runner();
|
||||
runner.setDaemon(true);
|
||||
runner.start();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue