21 lines
699 B
Diff
21 lines
699 B
Diff
|
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(-)
|
||
|
|
||
|
Index: xen-4.1.1-testing/tools/python/xen/xend/XendLogging.py
|
||
|
===================================================================
|
||
|
--- xen-4.1.1-testing.orig/tools/python/xen/xend/XendLogging.py
|
||
|
+++ xen-4.1.1-testing/tools/python/xen/xend/XendLogging.py
|
||
|
@@ -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"
|