We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc564b3 commit 5587677Copy full SHA for 5587677
cf-java-logging-support-core/src/main/java/com/sap/hcp/cf/logging/common/RequestRecord.java
@@ -93,9 +93,10 @@ public RequestRecord(String layerKey) {
93
*/
94
public RequestRecord(String layerKey, Direction direction) {
95
addTag(Fields.LAYER, layerKey);
96
- if (direction != null) {
97
- this.direction = direction;
+ if (direction == null) {
+ direction = Direction.OUT;
98
}
99
+ this.direction = direction;
100
addTag(Fields.DIRECTION, direction.toString());
101
setDefaults();
102
start();
0 commit comments