Skip to content

Commit

Permalink
Added Log for Minecraft Forge Servers
Browse files Browse the repository at this point in the history
This might work for vanilla minecraft, too; I haven't tested that yet.
  • Loading branch information
hagfelsh authored Jan 21, 2017
1 parent aa419a3 commit e4da78b
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions minecraft_forge.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"minecraft_forge_log" : {
"title" : "minecraft",
"description" : "The log format used in minecraft forge server logs",
"url" : "",
"regex" : {
"std" : {
"pattern" : "^\\[(?<timestamp>\\d{2}:\\d{2}:\\d{2})\\] \\[(?<system>.*)\\/(?<level>\\w+)\\] \\[(?<module>.*)\\/((?<childmod>.+))?\\]: (?<body>.*)$"
}
},
"level-field" : "level",
"level" : {
"error" : "ERROR",
"warning" : "WARN",
"info" : "INFO",
"debug" : "DEBUG",
"trace" : "TRACE"
},
"value" : {
"system" : {
"kind" : "string",
"identifier" : true
},
"module" : {
"kind" : "string",
"identifier" : true
},
"childmod" : {
"kind" : "string",
"identifier" : true
}
},
"sample" : [
{
"line" : "[14:57:56] [Server thread/TRACE] [RTG/RTG]: Sent event FMLPostInitializationEvent to mod RTG"
}
]
}
}

0 comments on commit e4da78b

Please sign in to comment.