Skip to content

ZMBlocks/ES-LogBlocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogBlocker - 日志过滤插件

配置文件

{
    "ignoreCase": false, // 忽略大小写
    "patterns": [ // 要过滤的日志行
        "^(================ TELEMETRY MESSAGE ===================|Server Telemetry is currently not enabled.|Enabling this telemetry helps us improve the game.|To enable this feature, add the line 'emit-server-telemetry=true'|to the server.properties file in the handheld/src-server directory|======================================================)( ){0,1}$",
        "^\\[Scripting\\] No script plugins found.$",
        "^'realms-stories-enabled' is enabled in server.properties, outputting Realms Stories gameplay events to console$",
        "^\\[Packs\\] \\[SERVER\\] Pack Stack$",
        "^(setting up server logging...|Starting Server|Session ID: .*|Build ID: .*|Branch: .*|Commit ID: .*|Configuration: .*|No CDN config file found for dedicated server|Content logging to console is enabled.)$"
    ],
    "regex": true // 使用正则表达式
}