filter tracing log file
@@ -86,7 +86,12 @@ impl Table for TracingTable {
.sort_by_key(|file| file.file_name().to_owned())
{
let entry = entry.map_err(|e| ErrorCode::UnknownException(format!("{}", e)))?;
- if !entry.path().is_dir() {
+ if !entry.path().is_dir()
+ && entry
+ .file_name()
+ .to_string_lossy()
+ .starts_with("databend-query")
+ {
log_files.push(entry.path().display().to_string());
}
}
