Project
cortex
Description
Follow mode seeks to end and never displays the last N historical lines.
Error Message
Debug Logs
System Information
Screenshots
https://github.com/dragonwarrior0225/img/blob/main/84-3.PNG
Steps to Reproduce
- Run
cortex logs --follow -n 200.
- Observe initial output starts from tail end only for new lines.
Expected Behavior
Should show last N lines first, then follow.
Actual Behavior
-n has no effect in follow path.
Additional Context
Project
cortex
Description
Follow mode seeks to end and never displays the last N historical lines.
Error Message
Debug Logs
System Information
Screenshots
https://github.com/dragonwarrior0225/img/blob/main/84-3.PNG
Steps to Reproduce
cortex logs --follow -n 200.Expected Behavior
Should show last N lines first, then follow.
Actual Behavior
-nhas no effect in follow path.Additional Context
src/cortex-cli/src/logs_cmd.rsmain): https://github.com/CortexLM/cortex/blob/main/src/cortex-cli/src/logs_cmd.rsrun_followunconditionallyseek(SeekFrom::End(0)); does not useself.lines.