Skip to content

Commit 318317f

Browse files
committed
Preparing for upload to Maven Central
1 parent 0cc3ac9 commit 318317f

File tree

6 files changed

+188
-137
lines changed

6 files changed

+188
-137
lines changed

cf-java-logging-support-core/beats/app-logs/etc/fields.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ app-logs:
200200
required: false
201201
example: "http-nio-4655"
202202
description: |
203-
Identifies the exedcution thread in which this log message has been written.
203+
Identifies the execution thread in which this log message has been written.
204204
205205
"-" indicates that no proper value could be provided.
206206

cf-java-logging-support-core/src/main/java/com/sap/hcp/cf/logging/common/RequestRecord.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* <li><code>response_time_ms</code> set to the delta between the time when the instance was created and the first call to {@link #toString()}</li>
2727
* </ul>
2828
* <p>
29-
* May "inherit" tags from other instances created in the same thread (hierarchy) via (context) propagation, see {@link #addTag(String, String, boolean)}
29+
* May "inherit" tags from other instances created in the same thread (hierarchy) via (context) propagation, see {@link RequestRecord#addContextTag(String, String)}
3030
* Such context information is kept in thread-local storage provided via {@link MDC}. As a consequence, context information will stay until explicitly reset/cleared.
3131
*
3232
*

cf-java-logging-support-core/src/main/java/com/sap/hcp/cf/logging/common/customfields/CustomField.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ private CustomField(String key, Object value) {
1111
}
1212

1313
/**
14-
* Include key:value in the JSON output if the {@link CustomFieldsProvider} is used.
14+
* Include <i>custom field</i> key:value in the JSON output.
1515
* @param key the key, must not be null
1616
* @param value the value, {@link String#valueOf} will be used to generate the String representation
1717
* @return a CustomField object representing key=value

cf-java-logging-support-log4j2/src/main/java/com/sap/hcp/cf/log4j2/converter/ContextPropsConverter.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,17 @@
66
import org.apache.logging.log4j.core.config.plugins.Plugin;
77
import org.apache.logging.log4j.core.pattern.ConverterKeys;
88
import org.apache.logging.log4j.core.pattern.LogEventPatternConverter;
9-
import org.slf4j.MDC;
109

1110
import com.sap.hcp.cf.logging.common.converter.DefaultPropertiesConverter;
1211

1312
/**
14-
* A simple {@link LogEventPatternConverter} implementation that converts key/value pairs from the {@link MDC}.
13+
* A simple {@link LogEventPatternConverter} implementation that converts key/value pairs from the {@link org.slf4j.MDC}.
1514
* These key/value pairs are embedded in the JSON message, i.e. the appear as fields at the top-level
1615
* JSON object.
1716
* <p>
1817
* There are two exceptions to this:
1918
* <ol>
20-
* <li>The predefined keys from {@link ContextTags}</li>
19+
* <li>The predefined keys from {@link com.sap.hcp.cf.logging.common.Fields}</li>
2120
* <li>The list of key names that have been passed in as options.</li>
2221
* </ol>
2322
*

cf-java-logging-support-logback/src/main/java/com/sap/hcp/cf/logback/converter/ContextPropsConverter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
import ch.qos.logback.classic.spi.ILoggingEvent;
1010

1111
/**
12-
* A simple {@link ClassicConverter} implementation that converts key/value pairs from the {@link MDC}.
12+
* A simple {@link ClassicConverter} implementation that converts key/value pairs from the {@link org.slf4j.MDC}.
1313
* These key/value pairs are embedded in the JSON message, i.e. the appear as fields at the top-level
1414
* JSON object.
1515
* <p>
1616
* There are two exceptions to this:
1717
* <ol>
18-
* <li>The predefined keys from {@link ContextTags}</li>
18+
* <li>The predefined keys from {@link com.sap.hcp.cf.logging.common.Fields}</li>
1919
* <li>The list of key names that have been passed in as options.</li>
2020
* </ol>
2121
*

0 commit comments

Comments
 (0)