Commit Graph

9 Commits

Author SHA1 Message Date
Bryce Chidester b752310808 Remove extraneous -f between tail file arguments
tail requires the -f/-F option to be passed just once, not between every log file.
2022-07-11 10:57:17 -07:00
Bryce Chidester dedfeaca08 [universal-stdout-logs] Use tail -F to follow rotated log files
I appreciate this mod for keeping an eye on nginx logs and such. The lsio/swag rotates those log files daily, and unfortunately that causes this mod to stop working. I propose using tail's `-F` (a shortcut for `--follow=name --retry`) instead of `-f` so that this mod will continue tailing the newly-rotated log file.
2022-07-11 09:54:41 -07:00
Alex Phillips b18f779a96 fixed bad variable assignment 2021-12-17 11:22:27 -05:00
Alex Phillips fb4c4c4da1 fixed sed delimiter to prevent interferring with paths 2021-12-17 11:16:13 -05:00
Alex Phillips 1f71bf909e fixed tail variable 2021-12-17 10:58:31 -05:00
Alex Phillips 858071c151 pipe-delimited is already 'standard' for the mods themselves, use that. Very unlikely a log file or path will have a pipe in the name 2021-12-17 10:57:17 -05:00
Alex Phillips 6151754435 changed delimiter to comma (more likely a space would be in a path), properly added in front of each file to tail 2021-12-17 10:50:13 -05:00
Alex Phillips 4611b332e1 initial commit 2021-12-17 10:22:06 -05:00
thelamer 5aeb83b384 adding rough draft docs for review 2019-04-14 22:28:48 -07:00