log_files.rst 4.18 KB
Newer Older
1 2
.. _log-files:

3 4 5 6
*********
Log Files
*********

Sebastien Duthil's avatar
Sebastien Duthil committed
7
Every XiVO service has its own log file, placed in :file:`/var/log`.
8 9 10 11


asterisk
--------
12

13 14
The Asterisk log files are managed by logrotate.

Sebastien Duthil's avatar
Sebastien Duthil committed
15
It's configuration files :file:`/etc/logrotate.d/asterisk` and :file:`/etc/asterisk/logger.conf`
16

Sebastien Duthil's avatar
Sebastien Duthil committed
17 18 19
The message log level is enabled by default in :file:`logger.conf` and contains notices, warnings
and errors. The full log entry is commented in :file:`logger.conf` and should only be enabled when
verbose debugging is required. Using this option in production would produce VERY large log files.
20

Sebastien Duthil's avatar
Sebastien Duthil committed
21
* Files location: :file:`/var/log/asterisk/\*`
22 23 24 25
* Number of archived files: 15
* Rotation frequence: Daily


26 27 28 29 30 31 32 33 34
xivo-agentd
-----------

* File location: :file:`/var/log/xivo-agentd.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-agentd`
* Number of archived files: 15
* Rotation frequence: Daily


35 36
xivo-agid
---------
37

38 39
* File location: :file:`/var/log/xivo-agid.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-agid`
Sebastien Duthil's avatar
Sebastien Duthil committed
40 41
* Number of archived files: 15
* Rotation frequence: Daily
42 43


44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
xivo-amid
---------

* File location: :file:`/var/log/xivo-amid.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-amid`
* Number of archived files: 15
* Rotation frequence: Daily


xivo-auth
---------

* File location: :file:`/var/log/xivo-auth.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-auth`
* Number of archived files: 15
* Rotation frequence: Daily


xivo-call-logd
--------------

* File location: :file:`/var/log/xivo-call-logd.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-call-logd`
* Number of archived files: 15
* Rotation frequence: Daily


xivo-confd
----------

* File location: :file:`/var/log/xivo-confd.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-confd`
* Number of archived files: 15
* Rotation frequence: Daily


80 81 82
xivo-confgend
-------------

Sebastien Duthil's avatar
Sebastien Duthil committed
83 84
The xivo-confgend daemon output is sent to the file specified with the ``--logfile`` parameter when
launched with twistd.
85

86
The file location can be changed by customizing the xivo-confgend.service unit file.
87

Sebastien Duthil's avatar
Sebastien Duthil committed
88 89 90 91
* File location: :file:`/var/log/xivo-confgend.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-confgend`
* Number of archived files: 15
* Rotation frequence: Daily
92 93 94 95 96


xivo-ctid
---------

Etienne Lessard's avatar
Etienne Lessard committed
97
* File location: :file:`/var/log/xivo-ctid.log`
Sebastien Duthil's avatar
Sebastien Duthil committed
98
* Rotate configuration: :file:`/etc/logrotate.d/xivo-ctid`
99 100
* Number of archived log files: 15
* Rotation frequence: Daily
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129


xivo-dird
---------

* File location: :file:`/var/log/xivo-dird.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-dird`
* Number of archived files: 15
* Rotation frequence: Daily


xivo-dird-phoned
----------------

* File location: :file:`/var/log/xivo-dird-phoned.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-dird-phoned`
* Number of archived files: 15
* Rotation frequence: Daily


xivo-dxtora
-----------

* File location: :file:`/var/log/xivo-dxtora.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-dxtora`
* Number of archived files: 15
* Rotation frequence: Daily


130 131 132 133 134 135 136 137 138
xivo-provd
----------

* File location: :file:`/var/log/xivo-provd.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-provd`
* Number of archived files: 15
* Rotation frequence: Daily


139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
xivo-purge-db
-------------

* File location: :file:`/var/log/xivo-purge-db.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-purge-db`
* Number of archived files: 15
* Rotation frequence: Daily


xivo-stat
---------

* File location: :file:`/var/log/xivo-stat.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-stat`
* Number of archived files: 15
* Rotation frequence: Daily


157 158 159 160 161 162 163 164 165
xivo-sysconfd
-------------

* File location: :file:`/var/log/xivo-sysconfd.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-sysconfd`
* Number of archived files: 15
* Rotation frequence: Daily


166 167 168 169 170 171 172 173 174
xivo-upgrade
------------

* File location: :file:`/var/log/xivo-upgrade.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-upgrade`
* Number of archived files: 15
* Rotation frequence: Daily


175 176 177 178 179 180 181
xivo-web-interface
------------------

* File location: :file:`/var/log/xivo-web-interface/\*.log`
* Rotate configuration: :file:`/etc/logrotate.d/xivo-web-interface`
* Number of archived files: 21
* Rotation frequence: Daily