diff --git a/.gitignore b/.gitignore index 7141f51..3410596 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,9 @@ result/* -result \ No newline at end of file +result + +### LOGS ### +**logs/ +**logs/*.log +**logs/*.gz + +*.log \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..6adfea6 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/dummy/src/main/resources/application.yml b/dummy/src/main/resources/application.yml index 93e7041..cce5faa 100644 --- a/dummy/src/main/resources/application.yml +++ b/dummy/src/main/resources/application.yml @@ -12,8 +12,6 @@ spring: password: admin springdoc: - - enable-native-support: true api-docs: enabled: true path: /api/v1/dummy/v3/api-docs @@ -32,3 +30,7 @@ eureka: #defaultZone: http://localhost:8761/eureka # Will only work when docker is used defaultZone: http://eureka-server:8761/eureka + +logging: + file: + name: ././logs/dummy.log \ No newline at end of file diff --git a/eureka/src/main/resources/application.yml b/eureka/src/main/resources/application.yml index d0a78e1..fe6db85 100644 --- a/eureka/src/main/resources/application.yml +++ b/eureka/src/main/resources/application.yml @@ -15,4 +15,8 @@ spring: # TODO remove after testing user: name: admin - password: admin \ No newline at end of file + password: admin + +logging: + file: + name: ././logs/eureka.log \ No newline at end of file diff --git a/gateway/src/main/resources/application.yml b/gateway/src/main/resources/application.yml index 83094d8..27998b0 100644 --- a/gateway/src/main/resources/application.yml +++ b/gateway/src/main/resources/application.yml @@ -57,7 +57,6 @@ management: enabled: true springdoc: - enable-native-support: true api-docs: enabled: true groups: @@ -77,3 +76,7 @@ eureka: #defaultZone: http://localhost:8761/eureka # Will only work when docker is used defaultZone: http://eureka-server:8761/eureka + +logging: + file: + name: ././logs/gateway.log diff --git a/server.iml b/server.iml new file mode 100644 index 0000000..e0b14e3 --- /dev/null +++ b/server.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file