Skip to content

Commit

Permalink
merge develop
Browse files Browse the repository at this point in the history
  • Loading branch information
svonworl committed Mar 27, 2024
2 parents 515b697 + aff6f6c commit 4ba336d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/init_migration.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ java -Ddw.database.user=postgres -Ddw.database.password="{{{ POSTGRES_DBPASSWORD
# this particular migration needs to run as postgres because only postgres can surrender ownership
java -Ddw.database.user=postgres -Ddw.database.password="{{{ POSTGRES_DBPASSWORD }}}" -jar /home/dockstore-webservice-*.jar db migrate web.yml --include 1.7.0.relinquish
# future migrations will start here and should be run as dockstore
java -Ddw.database.user=dockstore -Ddw.database.password="{{{ DOCKSTORE_DBPASSWORD }}}" -jar /home/dockstore-webservice-*.jar db migrate web.yml --include 1.8.0,1.9.0,1.10.0,1.11.0,1.12.0,1.13.0,1.14.0,1.15.0
java -Ddw.database.user=dockstore -Ddw.database.password="{{{ DOCKSTORE_DBPASSWORD }}}" -jar /home/dockstore-webservice-*.jar db migrate web.yml --include 1.8.0,1.9.0,1.10.0,1.11.0,1.12.0,1.13.0,1.14.0,1.15.0,1.16.0
5 changes: 2 additions & 3 deletions templates/web.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,8 @@ logging:
- type: console
# this the default dropwizard (logstash) logFormat for reference
#logFormat: "%-5p [%d{ISO8601,UTC}] %c: %m%n%rEx"
# this is a logFormat that replaces new lines in messages with a →
# TODO: should do the same with exceptions, but I couldn't figure it out
logFormat: "%-5p [%d{ISO8601,UTC}] %c: %replace(%msg){'[\\n]','→'}%n%rEx"
# this is a logFormat that replaces new lines with carriage returns
logFormat: "%-5p [%d{ISO8601,UTC}] %c: %replace(%m){'\n','\r'}%n%replace(%rEx){'\n','\r'}"


database:
Expand Down

0 comments on commit 4ba336d

Please sign in to comment.