6 Commits

Author SHA1 Message Date
b6bfcc0290 Update version number 2025-08-10 11:27:41 -04:00
4e34267856 Fix broken logging 2025-08-10 11:27:20 -04:00
5f246d79a6 Update snapshot version 2025-08-10 11:07:55 -04:00
caea64a9bf Update dependencies 2025-08-10 11:01:39 -04:00
90369a4cd1 Update logging 2025-08-09 23:30:42 -04:00
e29228a84b Update snapshot version 2025-05-25 14:51:03 -04:00
3 changed files with 10 additions and 10 deletions

10
pom.xml
View File

@@ -6,7 +6,7 @@
<groupId>com.mattrixwv.cipherstream</groupId>
<artifactId>cipherstream-api</artifactId>
<packaging>jar</packaging>
<version>1.1.8</version>
<version>1.1.10</version>
<name>CipherStream API</name>
<url>https://api.cipherstream.mattrixwv.com</url>
@@ -26,7 +26,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.5.0</version>
<version>3.5.4</version>
</parent>
<dependencies>
@@ -125,7 +125,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.5.0</version>
<version>3.6.1</version>
<executions>
<execution>
<id>enforce-maven</id>
@@ -145,7 +145,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.4.1</version>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -264,7 +264,7 @@
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>12.1.1</version>
<version>12.1.3</version>
<executions>
<execution>
<phase>none</phase>

View File

@@ -3,6 +3,7 @@ package com.mattrixwv.cipherstream.config;
import java.io.IOException;
import java.util.StringJoiner;
import java.util.UUID;
import org.slf4j.MDC;
import org.springframework.lang.NonNull;
@@ -37,6 +38,9 @@ public class FullFilter extends OncePerRequestFilter{
if(request.getHeader("X-Request-Id") != null){
MDC.put("requestId", request.getHeader("X-Request-Id"));
}
else{
MDC.put("requestId", UUID.randomUUID().toString());
}
//Get IP address
if(request.getHeader("X-Forwarded-For") != null){

View File

@@ -1,5 +1,5 @@
{
"msg_timestamp": {
"timestamp": {
"$resolver": "timestamp",
"pattern": {
"format": "yyyy-MM-dd HH:mm:ss.SSSZ"
@@ -9,10 +9,6 @@
"$resolver": "level",
"field": "name"
},
"requestId": {
"$resolver": "mdc",
"key": "requestId"
},
"logger": {
"$resolver": "logger",
"field": "name"