dsc/ext/PsGallery/xWebAdministration.1.17.0.0/Tests/Integration/MSFT_XIISLogging.config.ps1
configuration MSFT_xIisLogging_Rollover { Import-DscResource -ModuleName xWebAdministration xIisLogging Logging { LogPath = 'C:\IISLogFiles' Logflags = @('Date','Time','ClientIP','UserName','ServerIP') LoglocalTimeRollover = $true LogPeriod = 'Hourly' LogFormat = 'W3C' } } configuration MSFT_xIisLogging_Truncate { Import-DscResource -ModuleName xWebAdministration xIisLogging Logging { LogPath = 'C:\IISLogFiles' Logflags = @('Date','Time','ClientIP','UserName','ServerIP') LoglocalTimeRollover = $true LogTruncateSize = '2097152' LogFormat = 'W3C' } } |