Skip to content

A logging ibrary for Bash providing functions to log the output from a script or command to the screen and a file and then compress and email those files

License

Notifications You must be signed in to change notification settings

MADhacking/bash-outlogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bash-outlogger

shellcheck tests coverage

A great many bash scripts require some simple output and error logging facilities such as redirecting the output of a single command or multiple commands to a file or running an application whilst simultaneously recording the output to a file and displaying it to the screen.

The bash-outlogger package provides this functionality and also provides the ability to compress large log-files, using the bzip2 compression utility, and email the resulting log-files as attachments to users using the mutt email client.

More details and example code can be found at

http://www.mad-hacking.net/software/linux/agnostic/bash-outlogger/index.xml

About

A logging ibrary for Bash providing functions to log the output from a script or command to the screen and a file and then compress and email those files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages