mirror of
https://github.com/netdata/netdata.git
synced 2025-04-29 15:10:02 +00:00
Update README.md (#18246)
Co-authored-by: Fotis Voutsas <fotis@netdata.cloud>
This commit is contained in:
parent
f417e35381
commit
ad60fdec34
1 changed files with 12 additions and 7 deletions
|
@ -128,16 +128,21 @@ Please note that your data history will be lost if you have modified `history` p
|
|||
|
||||
### [logs] section options
|
||||
|
||||
There are additional configuration options for the logs. For more info, see [Netdata Logging](/src/libnetdata/log/README.md).
|
||||
|
||||
| setting | default | info |
|
||||
|:----------------------------------:|:-----------------------------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| debug flags | `0x0000000000000000` | Bitmap of debug options to enable. For more information check [Tracing Options](/src/daemon/README.md#debugging). |
|
||||
| debug | `/var/log/netdata/debug.log` | The filename to save debug information. This file will not be created if debugging is not enabled. You can also set it to `syslog` to send the debug messages to syslog, or `none` to disable this log. For more information check [Tracing Options](/src/daemon/README.md#debugging). |
|
||||
| error | `/var/log/netdata/error.log` | The filename to save error messages for Netdata daemon and all plugins (`stderr` is sent here for all Netdata programs, including the plugins). You can also set it to `syslog` to send the errors to syslog, or `none` to disable this log. |
|
||||
| access | `/var/log/netdata/access.log` | The filename to save the log of web clients accessing Netdata charts. You can also set it to `syslog` to send the access log to syslog, or `none` to disable this log. |
|
||||
| facility | `daemon` | A facility keyword is used to specify the type of system that is logging the message. |
|
||||
| errors flood protection period | `1200` | Length of period (in sec) during which the number of errors should not exceed the `errors to trigger flood protection`. |
|
||||
| errors to trigger flood protection | `200` | Number of errors written to the log in `errors flood protection period` sec before flood protection is activated. |
|
||||
| severity level | `info` | Controls which log messages are logged, with error being the most important. Supported values: `info` and `error`. |
|
||||
| debug | `/var/log/netdata/debug.log` | The filename to save debug information. This file will not be created if debugging is not enabled. You can also set it to `syslog` to send the debug messages to syslog, or `off` to disable this log. For more information check [Tracing Options](/src/daemon/README.md#debugging). |
|
||||
| error | `/var/log/netdata/error.log` | The filename to save error messages for Netdata daemon and all plugins (`stderr` is sent here for all Netdata programs, including the plugins). You can also set it to `syslog` to send the errors to syslog, or `off` to disable this log. |
|
||||
| access | `/var/log/netdata/access.log` | The filename to save the log of web clients accessing Netdata charts. You can also set it to `syslog` to send the access log to syslog, or `off` to disable this log. |
|
||||
| collector | `journal` | The filename to save the log of Netdata collectors. You can also set it to `syslog` to send the access log to syslog, or `off` to disable this log. Defaults to `Journal` if using systemd. |
|
||||
| health | `journal` | The filename to save the log of Netdata health collectors. You can also set it to `syslog` to send the access log to syslog, or `off` to disable this log. Defaults to `Journal` if using systemd. |
|
||||
| daemon | `journal` | The filename to save the log of Netdata daemon. You can also set it to `syslog` to send the access log to syslog, or `off` to disable this log. Defaults to `Journal` if using systemd. |
|
||||
| facility | `daemon` | A facility keyword is used to specify the type of system that is logging the message. |
|
||||
| logs flood protection period | `60` | Length of period (in sec) during which the number of errors should not exceed the `errors to trigger flood protection`. |
|
||||
| logs to trigger flood protection | `1000` | Number of errors written to the log in `errors flood protection period` sec before flood protection is activated. |
|
||||
| level | `info` | Controls which log messages are logged, with error being the most important. Supported values: `info` and `error`. |
|
||||
|
||||
### [environment variables] section options
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue