Skip to content

Commit

Permalink
FIX : Modif niveaux de logs, Modif pourcentage mémoire utilisé par JVM
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-maraval committed Sep 5, 2024
1 parent ad44374 commit 82a980c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ WORKDIR /app/
COPY --from=build-image /build/target/*.jar /app/best-ppn-api.jar
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ENTRYPOINT ["java","-XX:MaxRAMPercentage=95","-jar","/app/best-ppn-api.jar"]
ENTRYPOINT ["java","-XX:MaxRAMPercentage=75","-jar","/app/best-ppn-api.jar"]
2 changes: 1 addition & 1 deletion src/main/resources/application-dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ mail.ws.url=
mail.ws.recipient=

logging.level.root=info
logging.level.fr.abes.bestppn=debug
logging.level.fr.abes.bestppn=info
logging.level.fr.abes.bestppn.service.EmailService=info
6 changes: 5 additions & 1 deletion src/main/resources/application-prod.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@ spring.sql.bacon.init.mode=never

# Mailing
mail.ws.url=
mail.ws.recipient=
mail.ws.recipient=

logging.level.root=info
logging.level.fr.abes.bestppn=info
logging.level.fr.abes.bestppn.service.EmailService=info
4 changes: 4 additions & 0 deletions src/main/resources/application-test.properties
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ spring.sql.bacon.init.mode=never
# Mailing
mail.ws.url=
mail.ws.recipient=

logging.level.root=info
logging.level.fr.abes.bestppn=info
logging.level.fr.abes.bestppn.service.EmailService=info

0 comments on commit 82a980c

Please sign in to comment.