always collect containerd logs
containerd is almost always running, even below docker
This commit is contained in:
		@@ -79,6 +79,11 @@ var requiredLogs = []LogFileData{
 | 
				
			|||||||
		Files:             []string{"/var/log/docker.log", "/var/log/upstart/docker.log"},
 | 
							Files:             []string{"/var/log/docker.log", "/var/log/upstart/docker.log"},
 | 
				
			||||||
		JournalctlCommand: []string{"-u", "docker"},
 | 
							JournalctlCommand: []string{"-u", "docker"},
 | 
				
			||||||
	},
 | 
						},
 | 
				
			||||||
 | 
						{
 | 
				
			||||||
 | 
							Name:              "containerd.log",
 | 
				
			||||||
 | 
							Files:             []string{"/var/log/containerd.log"},
 | 
				
			||||||
 | 
							JournalctlCommand: []string{"-u", "containerd"},
 | 
				
			||||||
 | 
						},
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// getLogFiles get all logs to collect after the test.
 | 
					// getLogFiles get all logs to collect after the test.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user