Skip to content

Commit 3b5c2af

Browse files
committed
up
1 parent bc58d37 commit 3b5c2af

File tree

3 files changed

+3
-15
lines changed

3 files changed

+3
-15
lines changed

instrumentation/logback/logback-appender-1.0/library/src/logstashMarkerTest/java/io/opentelemetry/instrumentation/logback/appender/v1_0/LogstashMarkerTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ static void setupAll() {
3636
resource = Resource.getDefault();
3737
instrumentationScopeInfo = InstrumentationScopeInfo.create("TestLogger");
3838

39-
// Configuration is handled by logback-test.xml in resources
4039
OpenTelemetryAppender.install(testing.getOpenTelemetry());
4140
}
4241

instrumentation/logback/logback-appender-1.0/library/src/logstashStructuredArgsTest/java/io/opentelemetry/instrumentation/logback/appender/v1_0/LogstashStructuredArgsTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ static void setupAll() {
3333
resource = Resource.getDefault();
3434
instrumentationScopeInfo = InstrumentationScopeInfo.create("TestLogger");
3535

36-
// Configuration is handled by logback-test.xml in resources
3736
OpenTelemetryAppender.install(testing.getOpenTelemetry());
3837
}
3938

instrumentation/logback/logback-appender-1.0/library/src/main/java/io/opentelemetry/instrumentation/logback/appender/v1_0/OpenTelemetryAppender.java

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -190,30 +190,20 @@ public void setCaptureArguments(boolean captureArguments) {
190190
* Sets whether the Logstash attributes should be set to logs.
191191
*
192192
* @param captureLogstashAttributes To enable or disable capturing Logstash attributes
193-
* @deprecated Use {@link #setCaptureLogstashStructuredArguments(boolean)} instead. This method is
193+
* @deprecated Use {@link #setCaptureLogstashMarkerAttributes(boolean)} instead. This method is
194194
* deprecated and will be removed in a future release.
195195
*/
196196
@Deprecated
197197
public void setCaptureLogstashAttributes(boolean captureLogstashAttributes) {
198198
setCaptureLogstashStructuredArguments(captureLogstashAttributes);
199199
}
200200

201-
/**
202-
* Sets whether the Logstash marker attributes should be set to logs.
203-
*
204-
* @param captureLogstashMarkerAttributes To enable or disable capturing Logstash marker
205-
* attributes
206-
*/
201+
/** Sets whether the Logstash marker attributes should be captured. */
207202
public void setCaptureLogstashMarkerAttributes(boolean captureLogstashMarkerAttributes) {
208203
this.captureLogstashMarkerAttributes = captureLogstashMarkerAttributes;
209204
}
210205

211-
/**
212-
* Sets whether the Logstash StructuredArguments should be captured as attributes.
213-
*
214-
* @param captureLogstashStructuredArguments To enable or disable capturing Logstash
215-
* StructuredArguments
216-
*/
206+
/** Sets whether the Logstash StructuredArguments should be captured. */
217207
public void setCaptureLogstashStructuredArguments(boolean captureLogstashStructuredArguments) {
218208
this.captureLogstashStructuredArguments = captureLogstashStructuredArguments;
219209
}

0 commit comments

Comments
 (0)