added logging
This commit is contained in:
parent
92fed1e3ca
commit
54a4b06b20
9
.gitignore
vendored
9
.gitignore
vendored
|
@ -1,2 +1,9 @@
|
|||
result/*
|
||||
result
|
||||
result
|
||||
|
||||
### LOGS ###
|
||||
**logs/
|
||||
**logs/*.log
|
||||
**logs/*.gz
|
||||
|
||||
*.log
|
8
.idea/modules.xml
Normal file
8
.idea/modules.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/server.iml" filepath="$PROJECT_DIR$/server.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
|
@ -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
|
|
@ -15,4 +15,8 @@ spring:
|
|||
# TODO remove after testing
|
||||
user:
|
||||
name: admin
|
||||
password: admin
|
||||
password: admin
|
||||
|
||||
logging:
|
||||
file:
|
||||
name: ././logs/eureka.log
|
|
@ -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
|
||||
|
|
8
server.iml
Normal file
8
server.iml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module version="4">
|
||||
<component name="AdditionalModuleElements">
|
||||
<content url="file://$MODULE_DIR$" dumb="true">
|
||||
<excludeFolder url="file://$MODULE_DIR$/logs" />
|
||||
</content>
|
||||
</component>
|
||||
</module>
|
Reference in a new issue