mirror of
https://github.com/rclone/rclone.git
synced 2025-03-04 14:56:40 +08:00

Before this change if logs were not redirected, logging would corrupt the terminal screen. This commit stores the logs (max ~100 lines) in an array and print them when the program exits.