chef
https://github.com/opscode/chef
Ruby
A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
MonoLogger#initialize
=== Synopsis Logger.new(name, shift_age = 7, shift_size = 1048576) Logger.new(name, shift_age = 'weekly') === Args +logdev+:: The log device. This is a filename (String) or IO object (typically +STDOUT+, +STDERR+, or an open file). +shift_age+:: Number of old log files to keep, *or* frequency of rotation (+daily+, +weekly+ or +monthly+). +shift_size+:: Maximum logfile size (only applies when +shift_age+ is a number). === Description Create an instance.
Edit
git clone [email protected]:opscode/chef.git
cd chef
open lib/chef/monologger.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MonoLogger-initialize-for-pr
# Commit to gitgit add lib/chef/monologger.rbgit commit -m "better docs for MonoLogger#initialize"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MonoLogger-initialize-for-pr
hub pull-request
# Celebrate!