16/20
Sign inSign up free

1421. Combined: Rotate a Huge Log While the App Keeps Writing

hard 40 XP ~12 minHands-on lab Pro

/var/log/harbor/harbor.log has grown huge. harbor keeps it open and appends a line every second; it can't be restarted today, and it doesn't reopen its log on any signal.

This is a Pro problem

Pro unlocks every lab and quiz, all roadmaps and a full daily plan.

Unlock with Pro

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Pro lab

Upgrade to open a machine for this problem.

See Pro