Skip to content

Commit b3d8889

Browse files
authored
Use logger from options for JVM profiler (#4771)
1 parent 14ff5ee commit b3d8889

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Fixes
6+
7+
- Use logger from options for JVM profiler ([#4771](https://github.com/getsentry/sentry-java/pull/4771))
8+
39
## 8.23.0
410

511
### Features

sentry/src/main/java/io/sentry/Sentry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ private static void initJvmContinuousProfiling(@NotNull SentryOptions options) {
710710

711711
final IContinuousProfiler continuousProfiler =
712712
ProfilingServiceLoader.loadContinuousProfiler(
713-
new SystemOutLogger(),
713+
options.getLogger(),
714714
profilingTracesDirPath,
715715
options.getProfilingTracesHz(),
716716
options.getExecutorService());

0 commit comments

Comments
 (0)