Moved to using custom log script - Commit fbccc8d1 - BTRFS-Snapshot-Rotate
-
Moved to using custom log script
-
| skipped 10 lines |
11 | 11 | | DAILIES=30 |
12 | 12 | | |
13 | 13 | | logmsg() { |
14 | | - | echo "$(date '+%Y-%m-%d_%H:%M'): $1" >> $LOGFILE |
| 14 | + | |
| 15 | + | # This uses a log script I wrote to limit the size of the log file. |
| 16 | + | # This script can be found at gitlab.com/mehalter/dotfiles in the Scripts folder |
| 17 | + | # Uncomment out the commented line to just pipe to logfile |
| 18 | + | |
| 19 | + | #echo "$(date '+%Y-%m-%d_%H:%M'): $1" >> $LOGFILE |
| 20 | + | echo "$(date '+%Y-%m-%d_%H:%M'): $1"|/home/micah/.config/Scripts/limitlog $LOGFILE |
15 | 21 | | } |
16 | 22 | | |
17 | 23 | | newsnapshot() { |
| skipped 102 lines |
Page is in error, reload to recover