提交 8f390596 编写于 作者: D Daniel P. Berrange

virtlogd: increase max file size to 2 MB

People debugging guest OS boot processes and reported that
the default 128 KB size is too small to capture an entire
boot up sequence. Increase the default size to 2 MB which
should allow capturing a full boot up even with verbose
debugging.
Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
上级 24aacfa8
...@@ -128,7 +128,7 @@ virLogDaemonConfigNew(bool privileged ATTRIBUTE_UNUSED) ...@@ -128,7 +128,7 @@ virLogDaemonConfigNew(bool privileged ATTRIBUTE_UNUSED)
return NULL; return NULL;
data->max_clients = 1024; data->max_clients = 1024;
data->max_size = 128 * 1024; data->max_size = 1024 * 1024 * 2;
data->max_backups = 3; data->max_backups = 3;
return data; return data;
......
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
#max_clients = 1024 #max_clients = 1024
# Maximum file size before rolling over. Defaults to 128 KB # Maximum file size before rolling over. Defaults to 2 MB
#max_size = 131072 #max_size = 2097152
# Maximum number of backup files to keep. Defaults to 3, # Maximum number of backup files to keep. Defaults to 3,
# not including the primary active file # not including the primary active file
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册