Skip to content

Move common server utilities to clp-rust-utils #1714

@coderabbitai

Description

@coderabbitai

Context

As discussed in #1675, we have identified several utility functions in the log-ingestor component that will likely be needed across multiple Rust components:

  • read_config_and_credentials: Loads configuration from YAML files and credentials from environment variables
  • set_up_logging: Sets up logging with hourly-rotating file appenders
  • shutdown_signal: Handles graceful shutdown on SIGTERM or Ctrl-C

Proposal

Move these utilities to the clp-rust-utils crate to promote code reuse and consistency across Rust components.

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions