mirror of
https://github.com/caronc/apprise.git
synced 2025-01-08 15:09:27 +01:00
Updated Notify_syslog (markdown)
parent
b353f04c07
commit
abbc3da030
@ -9,21 +9,21 @@ Syslog is a way for network devices to send event messages to a logging server
|
|||||||
### Syntax
|
### Syntax
|
||||||
Valid syntaxes are as follows:
|
Valid syntaxes are as follows:
|
||||||
* `syslog://`
|
* `syslog://`
|
||||||
|
* `syslog://{facility}`
|
||||||
|
|
||||||
One might change the facility from it's default like so:
|
One might change the facility from it's default like so:
|
||||||
* `syslog://_/?facility=local5`
|
* `syslog://local5`
|
||||||
|
|
||||||
### Parameter Breakdown
|
### Parameter Breakdown
|
||||||
| Variable | Required | Description
|
| Variable | Required | Description
|
||||||
| ----------- | -------- | -----------
|
| ----------- | -------- | -----------
|
||||||
| facility | No | The facility to use, by default it is `user`. Valid options are **kern**, **user**, **mail**, **daemon**, **auth**, **syslog**, **lpr**, **news**, **uucp**, **cron**, **local0**, **local1**, **local2**, **local3**, **local4**, **local5**, **local6**, and **local7**
|
| facility | No | The facility to use, by default it is `user`. Valid options are **kern**, **user**, **mail**, **daemon**, **auth**, **syslog**, **lpr**, **news**, **uucp**, **cron**, **local0**, **local1**, **local2**, **local3**, **local4**, **local5**, **local6**, and **local7**
|
||||||
| log_perror | No | Additionally send the log message to _stderr_
|
| logperror | No | Additionally send the log message to _stderr_
|
||||||
| log_pid | Yes | Include PID as part of the log output.
|
| logpid | Yes | Include PID as part of the log output.
|
||||||
|
|
||||||
#### Example
|
#### Example
|
||||||
Send a Syslog notification
|
Send a Syslog notification
|
||||||
```bash
|
```bash
|
||||||
# The following sends a syslog notification to the `user`
|
# The following sends a syslog notification to the `user` facility
|
||||||
# facility
|
|
||||||
apprise syslog://
|
apprise syslog://
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user