summaryrefslogtreecommitdiffstats
path: root/src/formats/choose_repo_log.json
blob: 6397049ccb904ddf058face3b941fda246201d04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"
            }
        ]
    }
}