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

Implement File-Based Logging #1

Open
she3o opened this issue Nov 15, 2024 · 0 comments
Open

Implement File-Based Logging #1

she3o opened this issue Nov 15, 2024 · 0 comments
Labels
enhancement New feature or request logging Concerning logging functionality

Comments

@she3o
Copy link
Owner

she3o commented Nov 15, 2024

Feature Overview

Currently, Zync supports logging to TTY using env_logger.
we need to implement file-based logging.

Requirements

  • Enable logging to a specified file in addition to TTY.
  • Allow users to configure the log file path via command-line arguments or a configuration file.
  • Implement log rotation to manage log file sizes and prevent disk space exhaustion.

Acceptance Criteria

  • Users can specify a log file path when starting the server.
  • Logs are written to both TTY and the specified file.
  • Log files rotate after reaching a certain size or based on time intervals.
@she3o she3o added enhancement New feature or request logging Concerning logging functionality labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request logging Concerning logging functionality
Projects
None yet
Development

No branches or pull requests

1 participant