MaxLogFileCount Parameter (Connect-HDFS Cmdlet)
A string specifying the maximum file count of log files.
Connect-HDFS -MaxLogFileCount int
When the limit is hit, a new log is created in the same folder with the date and time appended to the end and the oldest log file will be deleted.
The minimum supported value is 2. A value of 0 or a negative value indicates no limit on the count.
Adjust the maximum size of the logfiles generated with MaxLogFileSize.