Interface LogStreamFile

The log is written to a file. Subtype of LogStream.

interface LogStreamFile {
    @type: "logStreamFile";
    max_file_size: number;
    path: string;
    redirect_stderr?: boolean;
}

Properties

@type: "logStreamFile"
max_file_size: number

The maximum size of the file to where the internal TDLib log is written before the file will automatically be rotated, in bytes.

path: string

Path to the file to where the internal TDLib log will be written.

redirect_stderr?: boolean

Pass true to additionally redirect stderr to the log file. Ignored on Windows.