diff options
Diffstat (limited to 'internal/log')
| -rw-r--r-- | internal/log/rotate.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/log/rotate.go b/internal/log/rotate.go index fb93c3c..27907ce 100644 --- a/internal/log/rotate.go +++ b/internal/log/rotate.go @@ -10,13 +10,13 @@ import ( var ( // MaxSize is the maximum size in bytes from when to start trimming - MaxSize int64 = 1024 * 1024 + MaxSize int64 = 10 * 1024 * 1024 // TrimSize denotes how much to trim from the beginning TrimSize = MaxSize / 2 // TrimMsg is the message to display when it was trimmed - TrimMsg = "--- previous part was trimmed by eduvpn-common as the file was too big ---\n" + TrimMsg = "--- previous part was trimmed by eduvpn-common as the file was too big (10MB) ---\n" ) // FileRotater is a file that is trimmed when a maximum size is reached |
