Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
myleshorton committed Aug 27, 2015
1 parent b838843 commit 826f9fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/github.com/getlantern/flashlight/logging/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ func Init() error {
}
}
logFile = rotator.NewSizeRotator(filepath.Join(logdir, "lantern.log"))
// Set log files to 1 MB
// Set log files to 4 MB
logFile.RotationSize = 4 * 1024 * 1024
// Keep up to 20 log files
// Keep up to 5 log files
logFile.MaxRotation = 5

// Loggly has its own timestamp so don't bother adding it in message,
Expand Down

0 comments on commit 826f9fe

Please sign in to comment.