public/wordpress/wp-content/plugins/backupbuddy/destinations/live/live_periodic.php
/* _truncate_log()
	 *
	 * Truncates the beginning of the log if it is getting too large.
	 *
	 */
_truncate_log()
Truncates the beginning of the log if it is getting too large.
_truncate_log () Truncates the beginning of the log if it is getting too large .
private static function _truncate_log() {
		$sumLogFile = backupbuddy_core::getLogDirectory() . 'status-live_periodic_' . pb_backupbuddy::$options['log_serial'] . '.txt';
		$max_log_size = pb_backupbuddy::$options['max_site_log_size'] * 1024 * 1024;
		backupbuddy_core::truncate_file_beginning( $sumLogFile, $max_log_size, 50 );
	}
private static function _truncate_log ( ) { $ sumLogFile = backupbuddy_core :: getLogDirectory ( ) . 'status-live_periodic_' . pb_backupbuddy :: $ options [ 'log_serial' ] . '.txt' ; $ max_log_size = pb_backupbuddy :: $ options [ 'max_site_log_size' ] * 1024 * 1024 ; backupbuddy_core :: truncate_file_beginning ( $ sumLogFile , $ max_log_size , 50 ) ; }
_truncate_log()
 Truncates the beginning of the log if it is getting too large.
_truncate_log () Truncates the beginning of the log if it is getting too large .
// Truncate large log.