mirror of https://github.com/tstack/lnav.git
[logfile] increase format detection limit
This commit is contained in:
parent
ab671d5834
commit
0dbe5f0f94
|
@ -299,7 +299,7 @@ file_collection::watch_logfile(const std::string &filename,
|
|||
.with_source(logfile_name_source::ARCHIVE)
|
||||
.with_visibility(is_visible)
|
||||
.with_non_utf_visibility(false)
|
||||
.with_visible_size_limit(128 * 1024);
|
||||
.with_visible_size_limit(256 * 1024);
|
||||
});
|
||||
if (res.isErr()) {
|
||||
log_error("archive extraction failed: %s",
|
||||
|
|
|
@ -464,7 +464,7 @@ logfile::rebuild_result_t logfile::rebuild_index()
|
|||
break;
|
||||
}
|
||||
if (begin_size == 0 && !has_format &&
|
||||
li.li_file_range.fr_offset > 32 * 1024) {
|
||||
li.li_file_range.fr_offset > 256 * 1024) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue