Skip to content

Release/v0.0.4#45

Merged
jhonatapers merged 5 commits intorelease/v0.0.4from
develop
Jun 1, 2025
Merged

Release/v0.0.4#45
jhonatapers merged 5 commits intorelease/v0.0.4from
develop

Conversation

@jhonatapers
Copy link
Copy Markdown
Member

This pull request introduces several updates to environment configurations, logging setup, and Dockerfile optimizations. The changes aim to improve security, enhance logging flexibility, and streamline the container setup. Below is a summary of the most important changes grouped by theme.

Environment Configuration Updates:

  • Changed CORS_ALLOW_CREDENTIALS to false in .env.example to enhance security by disallowing credentials in cross-origin requests.
  • Removed ROOT_LOG_LEVEL and CALLV2_LOG_LEVEL from .env.example to simplify log level configuration.

Dockerfile Optimizations:

  • Switched base image from eclipse-temurin:21.0.7_6-jdk-alpine to eclipse-temurin:21.0.7_6-jre-alpine to reduce image size by using the JRE instead of the JDK.
  • Added explicit directory creation for /var/log/drive-api and refined ownership setup for /srv/drive/storage and /var/log/drive-api.

Logging Configuration Enhancements:

  • Updated log4j2-spring.xml to use consistent and descriptive property names (e.g., rootLogLevelConsole, logPath) and changed default file and JSON log levels to off for better control over logging.
  • Set root logger and com.callv2 logger levels to all in log4j2-spring.xml to capture all log events by default.

Bug Fixes:

  • Corrected a typo in application-env.yml and application.yml by changing reuqest-timeout to request-timeout to ensure proper configuration parsing. [1] [2]

@jhonatapers jhonatapers self-assigned this Jun 1, 2025
@jhonatapers jhonatapers added the bug Something isn't working label Jun 1, 2025
@jhonatapers jhonatapers merged commit c1857b4 into release/v0.0.4 Jun 1, 2025
1 check passed
@github-project-automation github-project-automation Bot moved this to Done in CallV2 Jun 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant