Phase 0: Rust project scaffolding (M0 complete)
Completed Rust project initialization: - Cargo.toml with all dependencies (actix-web, tokio, rustls, etc.) - Project structure (src/, tests/, configs/) - Module declarations (api, auth, config, jobs, logging, packages, systemd) - Clippy and rustfmt configured - Initial lib.rs and main.rs with logging setup - Config examples (config.yaml.example, whitelist.yaml.example) Dependencies resolved and project compiles successfully. Rust toolchain 1.94.1 installed.
This commit is contained in:
11
src/logging/mod.rs
Normal file
11
src/logging/mod.rs
Normal file
@ -0,0 +1,11 @@
|
||||
//! Logging Module - Audit logging and tracing
|
||||
//!
|
||||
//! Handles audit logging as defined in SPEC.md:
|
||||
//! - systemd journal integration (primary)
|
||||
//! - Optional remote syslog
|
||||
//! - Local file fallback (/var/log/linux_patch_api/audit.log)
|
||||
//! - 30-day retention with daily rotation
|
||||
|
||||
pub mod appender;
|
||||
pub mod journal;
|
||||
pub mod init;
|
||||
Reference in New Issue
Block a user