Skip to content

refactor: encapsulate log rotation logic#189

Draft
Anyitechs wants to merge 1 commit intolightningdevkit:mainfrom
Anyitechs:log-rotation
Draft

refactor: encapsulate log rotation logic#189
Anyitechs wants to merge 1 commit intolightningdevkit:mainfrom
Anyitechs:log-rotation

Conversation

@Anyitechs
Copy link
Copy Markdown
Contributor

This moves the SIGHUP signal handling from the main server loop to a dedicated background task in ServerLogger to make the logger responsible for its own file handle management.

This moves the `SIGHUP` signal handling from the main server loop to a
dedicated background task in `ServerLogger` to make the logger responsible
for its own file handle management.

Co-Authored-By: Gemini 3.0 Pro
@ldk-reviews-bot
Copy link
Copy Markdown

ldk-reviews-bot commented Apr 15, 2026

👋 Hi! This PR is now in draft status.
I'll wait to assign reviewers until you mark it as ready for review.
Just convert it out of draft status when you're ready for review!

@Anyitechs Anyitechs marked this pull request as draft April 15, 2026 19:35
@benthecarman
Copy link
Copy Markdown
Collaborator

I would rather keep the old version. I like all the handling for the different signals in main.rs, makes things easier to reason about imo.

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.

3 participants