Skip to content

Commit

Permalink
[Log] Access Log 수집 #5 (#17)
Browse files Browse the repository at this point in the history
config : tomcat access_log 설정
  • Loading branch information
kimyoungi99 authored Jun 30, 2022
1 parent b81e237 commit 37f401f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ out/
.vscode/

.DS_Store

### Log Files ###
logs/
12 changes: 11 additions & 1 deletion bridge-api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@

server:
tomcat:
basedir: .
accesslog:
enabled: true
directory: logs
pattern: 'API-access_log %{yyyy-MM-dd HH:mm:ss.SSS}t %{X-Forwarded-For}i %r %s %b %D'
prefix: access_log
suffix: .log
rotate: true
rename-on-rotate: true

0 comments on commit 37f401f

Please sign in to comment.