Skip to content

Conversation

@majinghe
Copy link
Contributor

Type of Change

  • New Feature
  • Bug Fix
  • Documentation
  • Performance Improvement
  • Test/CI
  • Refactor
  • Other:

Related Issues

#1075 (comment)

Summary of Changes

Add support for different logs output situation;

  • If RUSTFS_OBS_LOG_DIRECTORY is not set, logs output to the stdout
  • If RUSTFS_OBS_LOG_DIRECTORY is set and the value is local directory, then logs output to the local directory, default value is /logs;
  • If RUSTFS_OBS_LOG_DIRECTORY is set and the value is endpoint, then logs output to the endpoint.

Checklist

  • I have read and followed the CONTRIBUTING.md guidelines
  • Passed make pre-commit
  • Added/updated necessary tests
  • Documentation updated (if needed)
  • CI/CD passed (if applicable)

Impact

  • Breaking change (compatibility)
  • Requires doc/config/deployment update
  • Other impact:

Additional Notes


Thank you for your contribution! Please ensure your PR follows the community standards (CODE_OF_CONDUCT.md) and sign the CLA if this is your first contribution.

@majinghe
Copy link
Contributor Author

majinghe commented Dec 10, 2025

  • If RUSTFS_OBS_LOG_DIRECTORY is not set, logs output to the stdout
  • If RUSTFS_OBS_LOG_DIRECTORY is set and the value is local directory, then logs output to the local directory, default value is /logs;
  • If RUSTFS_OBS_LOG_DIRECTORY is set and the value is endpoint, then logs output to the endpoint.

@loverustfs loverustfs merged commit 8b3d4ea into rustfs:main Dec 10, 2025
12 checks passed
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

Successfully merging this pull request may close these issues.

2 participants