Skip to content

Commit b95aed0

Browse files
committed
[log2src] bump version to support python
1 parent d2e78aa commit b95aed0

3 files changed

Lines changed: 15 additions & 2 deletions

File tree

src/log_format_impls.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ class generic_log_format : public log_format {
150150
R"(^(?:\*\*\*\s+)?(?<timestamp>(?:\s|\d{4}[\-\/]\d{2}[\-\/]\d{2}|T|\d{1,2}:\d{2}(?::\d{2}(?:[\.,]\d{1,6})?)?|Z|[+\-]\d{2}:?\d{2}|(?!DBG|DEBUG|ERR|INFO|WARN|NONE)[A-Z]{3,4})+)[:|\s]?(trc|trace|dbg|debug|info|warn(?:ing)?|err(?:or)?)[:|\s]\s*)"),
151151
pcre_format(
152152
R"(^(?:\*\*\*\s+)?(?<timestamp>[\w:+ \.,+/-]+) \[(trace|debug|info|warn(?:ing)?|error|critical)\]\s+)"),
153+
pcre_format(
154+
R"(^(?:\*\*\*\s+)?(?<timestamp>[\w:+ \.,+/-]+) -- (trace|debug|info|warn(?:ing)?|error|critical) --\s+)"),
153155

154156
pcre_format(
155157
R"(^(?:\*\*\*\s+)?(?<timestamp>[\w:+/\.-]+) \[\w\s+)"),

src/third-party/lnav-rs-ext/Cargo.lock

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/third-party/lnav-rs-ext/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ prqlc = "0.13.4"
2727
cxx = "1.0"
2828
log = "0.4"
2929
miette = "7.6.0"
30-
log2src = {git = "https://github.com/tstack/log2src.git", branch = "proglistentimeout"}
30+
log2src = {git = "https://github.com/tstack/log2src.git", branch = "pylang"}
3131
# log2src = {path = "/Users/tstack/github/log2src"}
3232
rouille = "3.6.2"
3333
serde_json = "1.0.143"

0 commit comments

Comments
 (0)