file

A text file. It is opened at the first of the following locations that works:

  1. each path combined with each base,

  2. each base in default_path,

  3. each path combined with default_base,

  4. default_base in default_path.

path and base may be given several times.

XML element: <file>
C++ type: KTextFile
Defined in: KTextFile.h:115
Attributes

Attribute

Type

Description

base

string

the name of the file (without directory).

default_base

string

Deprecated: has no effect: <messages> sets the default name of its log file itself.

the file name used if the file cannot be opened with any base.

default_path

string

Deprecated: has no effect: <messages> sets the default directory of its log file itself.

the directory used if the file cannot be opened with any path.

name

string

Deprecated: use base instead.

same as base.

path

string

a directory in which the file is looked for.

Example:

<file path="[log_path]" base="QuadrupoleTrapLog.txt"/>

Used as:

More information

Appears in the documentation:

Used in example configurations: