Logging
Here you can define the logging parameters for the MultiRec.ocx within the Database Manager. Example: [DIRECTORY]C:\Digas\Log[FILENAME]MREC[TYPE]GLOBAL|EVENTS|METHODS|FILEACCESS|DEBUG[DELETEOLD]TRUE[DELETEDAYS]30

[DIRECTORY] (required) Folder for the log files. It is created if it does not exist.
[FILENAME] (required) Start of the file name. One file per day is written: .LOG, e.g. MREC1019.LOG. The year is not part of the name, so the file of the same day one year later is continued. If the file is locked by another process, _1.LOG, _2, ... is used.
[TYPE] (required) What is logged: one or more of the following keywords, separated by "|", upper or lower case. If no valid keyword is given, nothing is logged.
- GLOBAL: initialization and general messages
- EVENTS: events sent to the Database Manager, e.g. the play position about every 25 ms (large files)
- METHODS: every call of the Database Manager with parameters and return value
- FILEACCESS: every read and write access to audio files (large files during recordings)
- DEBUG: internal messages for diagnosis
- ALL: everything. Only valid as the only keyword: ALL|DEBUG logs DEBUG only.
- EXTRA, e.g. METHODSEXTRA: these messages are written to the log file and additionally to a second file extra.LOG. The keyword itself is switched on as well. ALLEXTRA is not supported, list the single keywords instead (e.g. GLOBALEXTRA|METHODSEXTRA).
[DELETEOLD] (optional) TRUE: old log files are deleted when the log file is opened (at the start and at the change of day). Attention: all files *.LOG in the folder whose last change is older than [DELETEDAYS] days are deleted, also renamed copies (e.g. MREC1019_test.LOG) and log files of other programs whose names start with the same text.
[DELETEDAYS] (optional, 1 to 364, Default=30) Age in days for [DELETEOLD]. Without [DELETEOLD]TRUE it has no effect.

Recommendation: GLOBAL|METHODS|DEBUG for most problems. Add EVENTS and FILEACCESS only when they are needed, because they produce very large log files. All players of the Database Manager write into the same file; the lines can be told apart by the instance address, e.g. ( 0x155cdab0 ).
Possible values:
Default value: None