Skip to content

firstfoundry/logexec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logexec

Contents

About

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

Building

Building requires:

  • make
  • go

Building:

# prepare build environment
$ make build-setup

# build binary
$ make build

# build binary tarball
$ make tar

# build cross compiled binary tarballs
$ make cross-tar

About

A log redirection thing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 69.5%
  • Makefile 30.5%