private long CalculatePassiveTruncationPoint() { long num = Math.Min(this.m_lowestGenRequiredGlobally, LogTruncater.CalculateLowestGenerationRequired(this.Configuration, this.FileChecker.FileState)); LogTruncater.Tracer.TraceDebug <long>((long)this.GetHashCode(), "PassiveTruncationPoint is now 0x{0:X}", num); return(num); }
public void StopTruncation() { LogTruncater.Tracer.TraceDebug((long)this.GetHashCode(), "LogTruncater is being stopped by component request."); base.Stop(); LogTruncater.RequestGlobalTruncationCoordination(1L, this.m_configuration.SourceMachine, this.m_configuration.TargetMachine, this.m_configuration.IdentityGuid, this.m_configuration.LogFilePrefix, this.m_configuration.DestinationLogPath, this.m_configuration.CircularLoggingEnabled, this.m_shuttingDownEvent); }