4 Configuration files
VoIPBox DSL / VoIPBox BRI – version 21.0.009
Page 62
You can define how the log files are to be divided. There are
two possibilities for saving entries into a new file:
|
In increments of time (twice-daily, daily, weekly, monthly)
|
Depending on the size of the file
You can also define a maximum number of up to 7 files to be
generated.
A dash (
-
) appears in place of information that is to be ig-
nored.
In the following entry, the file
cdr.log
is renamed every day.
Up to 35 CDR files will be saved on the system.
Table 4.7
pabx.cfg: Log Parameters
Log=/boot/<file> <saved> <size> <count>
<file>
The name of the log file is generated as follows:
[file]yymmdd[0-9|A-Z].log
.
<saved>
Refers to the frequency with which the file is saved. The following op-
tions are possible:
halfdaily
Every day at 11:59 and 23:59
daily
Every day at 23:59
weekly
Sunday at 23:59
monthly
The last day of the month at 23:59
<size>
Regardless of the value entered in
<day>
, the file will be saved when
the
<size>
has been reached (in kB).
NOTE: We recommend a file size of a multiple of 60kB.
<count>
Refers to the number of files that will be saved in the system (between
5 and 35) before the first file is overwritten. This setting is useful not
only for limited file size, but also for files that store events. Normally
size can be limited for these files, e.g. 5 files of 1MB each. If the fifth
file is full, the first one will automatically be overwritten.
Bear in mind that file size will be unlimited if no parame-
ters are defined.
Please remember to keep track of how much memory is
available on the system using the command
df
.
!
Example 4.7
cdr.log renamed daily
Log=/boot/cdr.log daily - 35
Содержание VoIP Box BRI Series
Страница 1: ...VoIPBox DSL VoIPBox BRI Reference Manual Software version 21 0...
Страница 15: ...1 Safety and security precautions...
Страница 23: ...2 Overview...
Страница 28: ...3 VoIPBoxinstallation...
Страница 52: ...4 Configuration files...
Страница 88: ...5 Additional VoIP parameters...
Страница 114: ...6 Signaling and routing features...
Страница 141: ...7 System maintenance and software update...
Страница 181: ...8 Online traffic monitor...
Страница 193: ...9 Troubleshooting...
Страница 212: ...Appendix A Default config files...