[lxc-devel] [lxd/master] lxd/instance/qemu: Sets log file to qemu.log
tomponline on Github
lxc-bot at linuxcontainers.org
Mon Dec 9 00:53:14 UTC 2019
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 361 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20191208/ef8f79dc/attachment.bin>
-------------- next part --------------
From 595f15957f904b9605fa1c564327d223f857c018 Mon Sep 17 00:00:00 2001
From: Thomas Parrott <thomas.parrott at canonical.com>
Date: Mon, 9 Dec 2019 00:52:38 +0000
Subject: [PATCH] lxd/instance/qemu: Sets log file to qemu.log
Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>
---
lxd/instance/qemu/vm_qemu.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lxd/instance/qemu/vm_qemu.go b/lxd/instance/qemu/vm_qemu.go
index 5f149794b2..9643c3247a 100644
--- a/lxd/instance/qemu/vm_qemu.go
+++ b/lxd/instance/qemu/vm_qemu.go
@@ -2979,7 +2979,7 @@ func (vm *Qemu) LogPath() string {
// LogFilePath returns the instance's log path.
func (vm *Qemu) LogFilePath() string {
- return filepath.Join(vm.LogPath(), "lxvm.log") // tomp TODO is this correct?
+ return filepath.Join(vm.LogPath(), "qemu.log")
}
// ConsoleBufferLogPath returns the instance's console buffer log path.
More information about the lxc-devel
mailing list