VXVX Docs

Log

LoggerConfig

Logging is configured in ServerConfig.log (LoggerConfig). Schema definition: protos/proto/vx/log/logger.proto.

LoggerConfig

logLevel
Level

Minimum level: DEBUG, INFO, WARN, ERROR, FATAL, DISABLED

filePath
string

Log file path

logFileDir
string

When filePath is empty, write timestamped files in this directory (2006-01-02T15:04:05.txt)

consoleWriter
bool

Human-readable console output

showColor
bool

Colored logs (with console output)

showCaller
bool

Include caller location

redact
bool

Redact domains and IPs in log lines

Example

{
  "log": {
    "logLevel": "INFO",
    "filePath": "/var/log/vx/vx.log",
    "redact": false
  }
}

Comments