add
This commit is contained in:
parent
5a3d150164
commit
c040298321
|
|
@ -17,4 +17,10 @@ public class GreetingController {
|
|||
|
||||
}
|
||||
|
||||
@GetMapping("/health")
|
||||
public String healthcheck() {
|
||||
return "OKOKOK";
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
server.port=7008
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
server:
|
||||
port: 7008
|
||||
tomcat:
|
||||
accesslog:
|
||||
enabled: true
|
||||
pattern: '%{yyyy-MM-dd HH:mm:ss}t %a %A %m %s %D %b %I %U%q %{User-Agent}i'
|
||||
# directory: /Users/chenyuzhen/tomcatlog/demo4bonus/
|
||||
directory: /opt/webapps/logs/demo4bonus/
|
||||
prefix: accesslog
|
||||
suffix: .log
|
||||
fileDateFormat: _yyyyMMdd
|
||||
rotate: true
|
||||
renameOnRotate: false
|
||||
buffered: true
|
||||
requestAttributesEnabled: true
|
||||
Loading…
Reference in New Issue