when using syslog have as an option to write to the log socket (/var/run/log) not only over UDP
- Dominant language
- Erlang
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 9
Description
[NOTE]: # ( ^^ Provide a general summary of the request in the title above. ^^ )
## Summary
When using `syslog` as the writer for the logs, it seems only supports UDP and there is no way to define or use the log socket, for example in FreeBSD located here: `/var/run/log`
```
[log]
writer = syslog
```
[NOTE]: # ( Provide a brief overview of what the new feature is all about. )
## Desired Behaviour
When chosing `syslog` as the writer, first try the socket unless host:port options have been defined, otherwiste there are no logs at all
## Possible Solution
First / default option should be to write to the log socket and then if aplicable use the existing options to send logs to a host:port
## Additional context
Contributor guide
Research direction
Start by locating the syslog writer and its configuration handling. Check how host and port options are currently used, then verify the requested default socket behavior and the existing host:port path; done means logs work through the local socket when no host:port is configured.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- erlang
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100