在我的应用程序中,日志文件将每小时翻转一次,但日志文件无法处理或存储超过1000MB(大约)的大小。如何将日志文件的大小增加到5GB以上?
这是我的log4j.xml
var data = new Dictionary<string, int> {
{ "C1", 1},
{ "C2", 2},
{ "C3", 3}
};
var expandoObject = new ExpandoObject() as IDictionary<string, Object>;
foreach (var kvp in data) {
expandoObject.Add(kvp.Key, kvp.Value);
}
dynamic pivotedData = expandoObject;
Console.WriteLine(pivotedData.C1);
Console.WriteLine(pivotedData.C2);
Console.WriteLine(pivotedData.C3);
Console.ReadLine();
任何帮助将不胜感激....