Timeline for Log rotation of stdout?
Current License: CC BY-SA 3.0
Post Revisions
18 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 19, 2021 at 11:10 | answer | added | Vick Sun | timeline score: 1 | |
| Mar 2, 2021 at 6:00 | history | tweeted | twitter.com/super_user/status/1366629420279214080 | ||
| Mar 24, 2020 at 8:22 | answer | added | Fabien | timeline score: 0 | |
| Jul 10, 2017 at 2:52 | answer | added | Victor Sergienko | timeline score: 1 | |
| Apr 3, 2016 at 18:06 | answer | added | user578558 | timeline score: 1 | |
| Oct 28, 2015 at 16:19 | answer | added | sage | timeline score: 5 | |
| Jun 11, 2015 at 18:28 | answer | added | Nazar | timeline score: 3 | |
| Oct 23, 2014 at 23:37 | answer | added | Sam Hendley | timeline score: 15 | |
| Oct 14, 2013 at 23:16 | answer | added | natevw | timeline score: 3 | |
| Jun 3, 2011 at 1:35 | vote | accept | Miral | ||
| Jun 1, 2011 at 7:20 | answer | added | Lara Dougan | timeline score: 14 | |
| Jun 1, 2011 at 7:02 | answer | added | JdeBP | timeline score: 67 | |
| Jun 1, 2011 at 6:40 | answer | added | BertNase | timeline score: 20 | |
| Jun 1, 2011 at 6:12 | comment | added | Miral | Exactly my point. So is there a way to make logrotate work with an ongoing process's redirected stdout? | |
| Jun 1, 2011 at 5:43 | comment | added | bubu | You don't have to use logrotate, but using logrotate just saves time... There is usually little point reinventing the wheel. | |
| Jun 1, 2011 at 5:12 | comment | added | Miral |
I could, if someone could tell me how to detect the size of a logfile and rotate it out from under the stdout of a process without disturbing that process. I don't have to use logrotate if there's a better option, that just sounded like a convenient starting point for discussion.
|
|
| Jun 1, 2011 at 5:05 | comment | added | MaQleod | Why can't you just modify the script that redirects the output to contain the logic for the rotation? | |
| Jun 1, 2011 at 4:58 | history | asked | Miral | CC BY-SA 3.0 |