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

Minio support. #100

Open
davinchia opened this issue Jun 25, 2021 · 3 comments
Open

Minio support. #100

davinchia opened this issue Jun 25, 2021 · 3 comments

Comments

@davinchia
Copy link
Contributor

Supporting logging to Minio would make testing apps that use this logger much easier.

@davinchia
Copy link
Contributor Author

I was able to log to Minio with the following configuration!

      <Log4j2Appender name="${ctx:job_log_path}-cloud"
      verbose="true"
      stagingBufferAge="1"
      s3Bucket="${s3-bucket}" s3Path="job-logging${ctx:job_log_path}" s3SigningRegion="${s3-region}"
      s3AwsKey="${s3-aws-key}" s3AwsSecret="${s3-aws-secret}"
      s3ServiceEndpoint="${s3-minio-endpoint}" s3PathStyleAccess="true">

The S3 client builder actually supports Minio if the right configuration is written. We should be able to update the documentation.

@vly-ginger
Copy link

If I read that correctly, all it takes is setting the service endpoint and enabling path style access?

@davinchia
Copy link
Contributor Author

yes that is right @vly-ginger !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants