Method: Backup::Logger::Logfile::Options#max_bytes

Defined in:
lib/backup/logger/logfile.rb

#max_bytesInteger

Size in bytes to truncate logfile to before backup jobs are run.

This is done once before all triggers, so the maximum logfile size would be this value plus whatever the jobs produce.

Parameters:

  • (Integer)

Returns:

  • (Integer)

    Default: 500_000



59
60
61
# File 'lib/backup/logger/logfile.rb', line 59

def max_bytes
  @max_bytes
end