Skip to content

Commit

Permalink
Adding logging tags to stack file
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavv0 committed Jan 22, 2024
1 parent 3d5c646 commit 538539c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ services:
options:
max-file: "5"
max-size: "10m"
tag: "{\"name\":\"{{.Name}}\",\"id\":\"{{.ID}}\"}"
command: bash -c "exec java $$FS_JAVA_OPTS -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.Log4j2LogDelegateFactory -jar ./fatjar.jar --host $$(hostname) -c secrets/configs/config.json"

secrets:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ services:
options:
max-file: "5"
max-size: "10m"
tag: "{\"name\":\"{{.Name}}\",\"id\":\"{{.ID}}\"}"
command: bash -c "exec java -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.Log4j2LogDelegateFactory -jar ./fatjar.jar --host $$(hostname) -c secrets/configs/config.json"

secrets:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ services:
options:
max-file: "5"
max-size: "10m"
tag: "{\"name\":\"{{.Name}}\",\"id\":\"{{.ID}}\"}"
command: bash -c "exec java -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.Log4j2LogDelegateFactory -jar ./fatjar.jar --host $$(hostname) -c configs/config.json"

secrets:
Expand Down

0 comments on commit 538539c

Please sign in to comment.