https://github.com/dustin/logexec
A log redirection thing.
https://github.com/dustin/logexec
Last synced: 4 months ago
JSON representation
A log redirection thing.
- Host: GitHub
- URL: https://github.com/dustin/logexec
- Owner: dustin
- Created: 2012-10-22T22:37:27.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-03-24T02:59:06.000Z (over 10 years ago)
- Last Synced: 2025-03-17T09:45:21.421Z (4 months ago)
- Language: Go
- Size: 161 KB
- Stars: 16
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
logexec is a simple command that runs a command and sends its stdout
to syslog at `INFO` level and its stderr to syslog at `ERROR` level.Example:
logexec -tag=hello echo hi
Causes the following to be logged at `INFO` level.
Oct 22 23:18:13 myhostname hello: hi