8000 GitHub - kexplo/pipe-logger: Log rotation of stdout & stderr
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kexplo/pipe-logger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

pipe-logger

Ruby Bash script for easy log rotation and formatting

(Ruby version is 200x faster than the original bash version)

# 10MB * 10 (default)
chatty_process | pipe-logger chatty.log

# 100MB * 5
chatty_process | pipe-logger -s 100m -n 5 chatty.log

# With timestamp
chatty_process | pipe-logger -s 100m -n 5 -t chatty.log

# Standard output & error with process substitution
chatty_process > >(pipe-logger chatty.out) 2> >(pipe-logger chatty.err)

About

Log rotation of stdout & stderr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 68.7%
  • Shell 31.3%
0