summaryrefslogtreecommitdiffstats
path: root/src/formats/choose_repo_log.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/formats/choose_repo_log.json')
-rw-r--r--src/formats/choose_repo_log.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/formats/choose_repo_log.json b/src/formats/choose_repo_log.json
new file mode 100644
index 0000000..6397049
--- /dev/null
+++ b/src/formats/choose_repo_log.json
@@ -0,0 +1,24 @@
+{
+ "$schema": "https://lnav.org/schemas/format-v1.schema.json",
+ "choose_repo_log": {
+ "title": "Yum choose_repo Log",
+ "description": "The log format for the yum choose_repo tool.",
+ "regex": {
+ "std": {
+ "pattern": "^\\[(?<level>\\w+):[^\\]]+] [^:]+:\\d+ (?<timestamp>\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}:\\d{2}(?:[\\.,]\\d{3})?):(?<body>.*)"
+ }
+ },
+ "level-field": "level",
+ "level": {
+ "error": "ERROR",
+ "debug": "DEBUG",
+ "info": "INFO",
+ "warning": "WARNING"
+ },
+ "sample": [
+ {
+ "line": "[INFO:choose_repo] choose_repo:47 2013-06-20 17:26:10,691: Setting region in redhat-rhui.repo"
+ }
+ ]
+ }
+} \ No newline at end of file