2011-05-31 19:35:29 +02:00
|
|
|
Disable internal logging and enable the logrotate.conf from the xen package.
|
|
|
|
This allows larger xend.log files
|
|
|
|
|
|
|
|
---
|
|
|
|
tools/python/xen/xend/XendLogging.py | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2011-09-15 23:43:21 +02:00
|
|
|
Index: xen-4.1.2-testing/tools/python/xen/xend/XendLogging.py
|
2011-05-31 19:35:29 +02:00
|
|
|
===================================================================
|
2011-09-15 23:43:21 +02:00
|
|
|
--- xen-4.1.2-testing.orig/tools/python/xen/xend/XendLogging.py
|
|
|
|
+++ xen-4.1.2-testing/tools/python/xen/xend/XendLogging.py
|
2011-05-31 19:35:29 +02:00
|
|
|
@@ -76,7 +76,7 @@ if 'TRACE' not in logging.__dict__:
|
|
|
|
log = logging.getLogger("xend")
|
|
|
|
|
|
|
|
|
|
|
|
-MAX_BYTES = 1 << 20 # 1MB
|
|
|
|
+MAX_BYTES = 0
|
|
|
|
BACKUP_COUNT = 5
|
|
|
|
|
|
|
|
STDERR_FORMAT = "[%(name)s] %(levelname)s (%(module)s:%(lineno)d) %(message)s"
|