Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update logging configuration after changes in distribution #346

Merged
merged 3 commits into from
Feb 14, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Copy the new log4j2-json.properties to Docker image
  • Loading branch information
frant-hartm committed Feb 14, 2022
commit 6cca75d1d954fdb985fb8f1773f458acc772ec38
2 changes: 1 addition & 1 deletion hazelcast-enterprise/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ RUN echo "Installing new packages" \
&& microdnf -y clean all \
&& rm -rf ${HZ_HOME}/get-hz-ee-dist-zip.sh ${HZ_HOME}/hazelcast-enterprise-distribution.zip ${HZ_HOME}/tmp

COPY log4j2.properties jmx_agent_config.yaml ${HZ_HOME}/config/
COPY log4j2.properties log4j2-json.properties jmx_agent_config.yaml ${HZ_HOME}/config/

RUN echo "Adding non-root user" \
&& groupadd --system hazelcast \
Expand Down
2 changes: 1 addition & 1 deletion hazelcast-oss/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ RUN echo "Installing new APK packages" \
&& apk del libxml2-utils zip unzip \
&& rm -rf /var/cache/apk/* ${HZ_HOME}/get-hz-dist-zip.sh ${HZ_HOME}/hazelcast-distribution.zip ${HZ_HOME}/tmp

COPY log4j2.properties jmx_agent_config.yaml ${HZ_HOME}/config/
COPY log4j2.properties log4j2-json.properties jmx_agent_config.yaml ${HZ_HOME}/config/

WORKDIR ${HZ_HOME}

Expand Down