# Class ServerLogsOptions | EchoHub Documentation
Live server-log room settings, bound from the &quot;ServerLogs&quot; config section (env override: ServerLogs__Enabled etc.). When enabled, a read-only system channel is auto-created and log events are streamed to it live — log lines are never stored as messages in the database; the rolling Serilog log files remain the only persistence.

# Class ServerLogsOptions

Namespace
  EchoHub.Server.Config

Assembly
  EchoHub.Server.dll

Live server-log room settings, bound from the "ServerLogs" config section (env override: `ServerLogs__Enabled` etc.). When enabled, a read-only system channel is auto-created and log events are streamed to it live — log lines are never stored as messages in the database; the rolling Serilog log files remain the only persistence.

    public sealed class ServerLogsOptions

Inheritance
  object
  ServerLogsOptions

Inherited Members
  object.GetType()
  object.ToString()
  object.Equals(object)
  object.Equals(object, object)
  object.ReferenceEquals(object, object)
  object.GetHashCode()

## Constructors

### ServerLogsOptions()

    public ServerLogsOptions()

## Properties

### BacklogLines

How many recent log entries are replayed from the log file when someone opens the room.

    public int BacklogLines { get; set; }

#### Property Value

int

### Enabled

Master switch for the live log room.

    public bool Enabled { get; set; }

#### Property Value

bool

### LogDirectory

Directory holding the rolling log files. Must match the Serilog file sink's path.

    public string LogDirectory { get; set; }

#### Property Value

string

### LogFilePattern

Filename glob for the rolling log files inside LogDirectory.

    public string LogFilePattern { get; set; }

#### Property Value

string

### MinLevel

Minimum level of log events streamed to the room (Verbose/Debug/Information/Warning/ Error/Fatal). Only affects the room — file and console sinks keep their own levels.

    public LogEventLevel MinLevel { get; set; }

#### Property Value

LogEventLevel

### MinRole

Minimum server role allowed to see and join the log room (Member/Mod/Admin/Owner).

    public ServerRole MinRole { get; set; }

#### Property Value

ServerRole

### NormalizedRoomName

Channel names are stored lowercased; compare against this form.

    public string NormalizedRoomName { get; }

#### Property Value

string

### RoomName

Name of the auto-created system channel. Must satisfy the normal channel-name rules; the name is reserved — users cannot create a channel with it.

    public string RoomName { get; set; }

#### Property Value

string