mirror of
https://github.com/caronc/apprise.git
synced 2025-01-05 21:49:02 +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
|
||||
Valid syntaxes are as follows:
|
||||
* `syslog://`
|
||||
* `syslog://{facility}`
|
||||
|
||||
One might change the facility from it's default like so:
|
||||
* `syslog://_/?facility=local5`
|
||||
* `syslog://local5`
|
||||
|
||||
### Parameter Breakdown
|
||||
| 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**
|
||||
| log_perror | No | Additionally send the log message to _stderr_
|
||||
| log_pid | Yes | Include PID as part of the log output.
|
||||
| logperror | No | Additionally send the log message to _stderr_
|
||||
| logpid | Yes | Include PID as part of the log output.
|
||||
|
||||
#### Example
|
||||
Send a Syslog notification
|
||||
```bash
|
||||
# The following sends a syslog notification to the `user`
|
||||
# facility
|
||||
# The following sends a syslog notification to the `user` facility
|
||||
apprise syslog://
|
||||
```
|
Loading…
Reference in New Issue
Block a user