Skip to content

Commit eee8259

Browse files
Merge pull request #61 from stefan0001/field_tenant_subdomain
add tenant subdomain field
2 parents ef6e04a + 67ad5f3 commit eee8259

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public interface Fields {
1414
public String CORRELATION_ID = "correlation_id";
1515
public String REQUEST_ID = "request_id";
1616
public String TENANT_ID = "tenant_id";
17+
public String TENANT_SUBDOMAIN = "tenant_subdomain";
1718
public String COMPONENT_ID = "component_id";
1819
public String COMPONENT_NAME = "component_name";
1920
public String COMPONENT_TYPE = "component_type";

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public class LogContext {
2020
{
2121
put(Fields.CORRELATION_ID, Defaults.UNKNOWN);
2222
put(Fields.TENANT_ID, Defaults.UNKNOWN);
23+
put(Fields.TENANT_SUBDOMAIN, Defaults.UNKNOWN);
2324
put(Fields.REQUEST_ID, null);
2425
put(Fields.COMPONENT_ID, Defaults.UNKNOWN);
2526
put(Fields.COMPONENT_NAME, Defaults.UNKNOWN);

0 commit comments

Comments
 (0)