Skip to content

Commit

Permalink
Use a daemon thread to flush logs. (#684)
Browse files Browse the repository at this point in the history
  • Loading branch information
githubcheng2978 authored Apr 26, 2024
1 parent d37ee27 commit ec2a2d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Release Notes.
* Remove `idleCount` tag in Alibaba Druid meter plugin.
* Fix NPE in handleMethodException method of apm-jdk-threadpool-plugin.
* Support for C3P0 connection pool tracing.
* Use a daemon thread to flush logs.

All issues and pull requests are [here](https://github.com/apache/skywalking/milestone/213?closed=1)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public void run() {
public void handle(Throwable t) {
}
}), "SkywalkingAgent-LogFileWriter");
logFlusherThread.setDaemon(true);
logFlusherThread.start();
}

Expand Down

0 comments on commit ec2a2d4

Please sign in to comment.