https://github.com/chef/mixlib-log
A simple class based Log mechanism, similar to Merb and Chef, that you can mix in to your project.
https://github.com/chef/mixlib-log
Keywords from Contributors
chef configuration-management discovery ohai deployment cfgmgt rubygems rack feature-flag sidekiq
Last synced: about 6 hours ago
JSON representation
Repository metadata
A simple class based Log mechanism, similar to Merb and Chef, that you can mix in to your project.
- Host: GitHub
- URL: https://github.com/chef/mixlib-log
- Owner: chef
- License: apache-2.0
- Created: 2009-03-11T20:33:49.000Z (over 17 years ago)
- Default Branch: main
- Last Pushed: 2026-06-21T22:41:37.000Z (4 months ago)
- Last Synced: 2026-07-22T16:04:58.139Z (2 months ago)
- Language: Ruby
- Homepage: http://www.chef.io
- Size: 330 KB
- Stars: 36
- Watchers: 60
- Forks: 27
- Open Issues: 2
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
- Notice: NOTICE
- Copyright: COPYRIGHT.md
README.md
Mixlib::Log
Mixlib::Log provides a mixin for enabling a class based logger object, a-la
Merb, Chef, and Nanite. To use it:
require 'mixlib/log'
class Log
extend Mixlib::Log
end
You can then do:
Log.debug('foo')
Log.info('bar')
Log.warn('baz')
Log.error('baz')
Log.fatal('wewt')
By default, Mixlib::Logger logs to STDOUT. To alter this, you should call Log.init, passing any arguments to the standard Ruby Logger. For example:
Log.init('/tmp/logfile') # log to /tmp/logfile
Log.init('/tmp/logfile', 7) # log to /tmp/logfile, rotate every day
Enjoy!
Documentation
All documentation is written using YARD. You can generate a by running:
rake docs
Contributing
For information on contributing to this project please see our Contributing Documentation
License
- License:: Apache License, Version 2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Copyright
See COPYRIGHT.md.
Owner metadata
- Name: Progress Chef
- Login: chef
- Email: ops@chef.io
- Kind: organization
- Description:
- Website: https://www.chef.io/
- Location: United States of America
- Twitter: chef
- Company:
- Icon url: https://avatars.githubusercontent.com/u/29740?v=4
- Repositories: 210
- Last ynced at: 2026-10-01T22:34:52.295Z
- Profile URL: https://github.com/chef
GitHub Events
Total
- Create event: 12
- Delete event: 8
- Fork event: 1
- Issue comment event: 53
- Pull request event: 33
- Pull request review comment event: 3
- Pull request review event: 20
- Push event: 30
- Watch event: 1
Last Year
- Create event: 1
- Delete event: 5
- Issue comment event: 4
- Pull request event: 7
- Pull request review event: 3
- Push event: 8
Committers metadata
Last synced: 1 day ago
Total Commits: 241
Total Committers: 44
Avg Commits per committer: 5.477
Development Distribution Score (DDS): 0.793
Commits in past year: 21
Committers in past year: 9
Avg Commits per committer in past year: 2.333
Development Distribution Score (DDS) in past year: 0.619
| Name | Commits | |
|---|---|---|
| Tim Smith | t****4@g****m | 50 |
| Chef Expeditor | c****i@c****o | 44 |
| Thom May | t****m@c****o | 19 |
| Bryan McLellan | b****m@o****m | 11 |
| Daniel DeLeo | d****n@o****m | 10 |
| Björn Albers | b****s@g****m | 9 |
| Adam Jacob | a****m@o****m | 7 |
| Olle Jonsson | o****n@g****m | 6 |
| Christopher Brown | cb@o****m | 5 |
| Chef Expeditor | e****i@c****o | 5 |
| AJ Christensen | aj@j****z | 5 |
| Phil Dibowitz | p****l@i****m | 5 |
| Ryan Davis | r****y@z****m | 5 |
| Thomas Powell | t****l@p****m | 5 |
| dependabot[bot] | 4****] | 5 |
| John Keiser | j****r@o****m | 4 |
| Max Horbul | m****x@g****t | 4 |
| poornima | p****m@p****m | 4 |
| Thom May | t****m@m****t | 3 |
| Lamont Granquist | l****t@s****g | 3 |
| Chef Expeditor | e****r@c****o | 3 |
| Matt Wrock | m****t@m****m | 2 |
| Rishi Kumar Chawda | r****a | 2 |
| Stan Hu | s****u@g****m | 2 |
| cgunasree08 | C****e@p****m | 2 |
| jayashri garud | j****d@m****m | 2 |
| sersut | s****r@o****m | 2 |
| Progress Copyright Bot | c****t@p****m | 1 |
| Greg Albrecht | g****a@s****m | 1 |
| AJ Christensen | aj@o****m | 1 |
| and 14 more... | ||
Committer domains:
- opscode.com: 8
- progress.com: 7
- chef.io: 4
- msystechnologies.com: 2
- johnkeiser.com: 1
- fedoraproject.org: 1
- newrelic.com: 1
- meta.com: 1
- splunk.com: 1
- mattwrock.com: 1
- scriptkiddie.org: 1
- may.lt: 1
- gorbul.net: 1
- zenspider.com: 1
- ipom.com: 1
- junglist.gen.nz: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 11
Total pull requests: 113
Average time to close issues: 11 months
Average time to close pull requests: 4 months
Total issue authors: 11
Total pull request authors: 31
Average comments per issue: 2.09
Average comments per pull request: 1.62
Merged pull request: 76
Bot issues: 1
Bot pull requests: 18
Past year issues: 0
Past year pull requests: 12
Past year average time to close issues: N/A
Past year average time to close pull requests: about 2 months
Past year issue authors: 0
Past year pull request authors: 5
Past year average comments per issue: 0
Past year average comments per pull request: 0.5
Past year merged pull request: 7
Past year bot issues: 0
Past year bot pull requests: 4
Top Issue Authors
- olleolleolle (1)
- perlun (1)
- pravi (1)
- philoserf (1)
- rhass (1)
- viyh (1)
- hedgehog (1)
- jsirex (1)
- jasonwbarnett (1)
- dependabot-preview[bot] (1)
- mtasaka (1)
Top Pull Request Authors
- tas50 (21)
- dependabot[bot] (17)
- thommay (12)
- jaymzh (8)
- olleolleolle (7)
- rishichawda (5)
- dafyddcrosby (4)
- stanhu (4)
- tpowell-progress (4)
- lamont-granquist (3)
- johnmccrae (2)
- jkeiser (2)
- bjoernalbers (2)
- poorndm (2)
- mtasaka (2)
Top Issue Labels
- Expeditor: Skip Version Bump (3)
- Status: Untriaged (2)
- Type: Enhancement (1)
- Type: Bug (1)
Top Pull Request Labels
- dependencies (18)
- Expeditor: Skip All (7)
- oss-standards (5)
- Expeditor: Bump Version Minor (5)
- ruby (4)
- Type: Bug (3)
- github_actions (3)
- Type: Chore (1)
- Expeditor: Skip Version Bump (1)
- ai-assisted (1)
Package metadata
- Total packages: 13
-
Total downloads:
- rubygems: 133,295,208 total
- Total docker downloads: 923,643,604
- Total dependent packages: 56 (may contain duplicates)
- Total dependent repositories: 8,607 (may contain duplicates)
- Total versions: 105
- Total maintainers: 5
gem.coop: mixlib-log
A gem that provides a simple mixin for log functionality
- Homepage: https://github.com/chef/mixlib-log
- Documentation: http://www.rubydoc.info/gems/mixlib-log/
- Licenses: Apache-2.0
- Latest release: 3.2.3 (published over 1 year ago)
- Last Synced: 2026-10-04T06:01:07.790Z (1 day ago)
- Versions: 24
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 66,647,604 Total
- Docker Downloads: 461,821,802
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.167%
- Docker downloads count: 0.234%
- Downloads: 0.433%
- Maintainers (5)
rubygems.org: mixlib-log
A gem that provides a simple mixin for log functionality
- Homepage: https://github.com/chef/mixlib-log
- Documentation: http://www.rubydoc.info/gems/mixlib-log/
- Licenses: Apache-2.0
- Latest release: 3.2.3 (published over 1 year ago)
- Last Synced: 2026-10-04T06:01:07.228Z (1 day ago)
- Versions: 24
- Dependent Packages: 56
- Dependent Repositories: 8,607
- Downloads: 66,647,604 Total
- Docker Downloads: 461,821,802
-
Rankings:
- Docker downloads count: 0.288%
- Dependent repos count: 0.352%
- Downloads: 0.43%
- Dependent packages count: 0.478%
- Average: 2.638%
- Forks count: 5.39%
- Stargazers count: 8.888%
- Maintainers (5)
proxy.golang.org: github.com/chef/mixlib-log
- Homepage:
- Documentation: https://pkg.go.dev/github.com/chef/mixlib-log#section-documentation
- Licenses: apache-2.0
- Latest release: v3.2.16+incompatible (published 4 months ago)
- Last Synced: 2026-10-04T06:01:08.907Z (1 day ago)
- Versions: 47
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 4.451%
- Average: 4.6%
- Dependent repos count: 4.75%
ubuntu-22.04: ruby-mixlib-log
- Homepage: https://github.com/chef/mixlib-log
- Licenses: apache-2.0
- Latest release: 3.0.8-1 (published 8 months ago)
- Last Synced: 2026-03-13T13:35:51.768Z (7 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-11: ruby-mixlib-log
- Homepage: https://github.com/chef/mixlib-log
- Documentation: https://packages.debian.org/bullseye/ruby-mixlib-log
- Licenses: apache-2.0
- Latest release: 3.0.8-1 (published 8 months ago)
- Last Synced: 2026-08-02T11:06:46.942Z (2 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-20.04: ruby-mixlib-log
- Homepage: https://github.com/chef/mixlib-log
- Licenses: apache-2.0
- Latest release: 3.0.8-1 (published 8 months ago)
- Last Synced: 2026-03-13T20:21:10.993Z (7 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-13: ruby-mixlib-log
- Homepage: https://github.com/chef/mixlib-log
- Documentation: https://packages.debian.org/trixie/ruby-mixlib-log
- Licenses: apache-2.0
- Latest release: 3.1.2-1 (published 8 months ago)
- Last Synced: 2026-03-14T18:08:18.580Z (7 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.10: ruby-mixlib-log
- Homepage: https://github.com/chef/mixlib-log
- Licenses: apache-2.0
- Latest release: 3.0.8-1 (published 8 months ago)
- Last Synced: 2026-03-14T03:15:00.065Z (7 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-24.10: ruby-mixlib-log
- Homepage: https://github.com/chef/mixlib-log
- Licenses: apache-2.0
- Latest release: 3.0.8-1 (published 8 months ago)
- Last Synced: 2026-08-02T12:10:44.814Z (2 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.04: ruby-mixlib-log
- Homepage: https://github.com/chef/mixlib-log
- Licenses: apache-2.0
- Latest release: 3.0.8-1 (published 8 months ago)
- Last Synced: 2026-08-26T14:28:34.024Z (about 1 month ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
pkgsrc-netbsd-x86_64-10.1-all: devel/ruby-mixlib-log
Mixin for simple class-based loggers
- Homepage: https://github.com/chef/mixlib-log
- Documentation: https://pkgsrc.se/devel/ruby-mixlib-log
- Licenses: apache-2.0
- Latest release: 3.2.3 (published 6 months ago)
- Last Synced: 2026-09-22T16:28:08.105Z (13 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-12: ruby-mixlib-log
- Homepage: https://github.com/chef/mixlib-log
- Documentation: https://packages.debian.org/bookworm/ruby-mixlib-log
- Licenses: apache-2.0
- Latest release: 3.0.8-1 (published 8 months ago)
- Last Synced: 2026-03-13T23:44:51.242Z (7 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
Dependencies
- activesupport < 6 development
- chefstyle >= 0 development
- cucumber < 5 development
- pry >= 0 development
- pry-byebug >= 0 development
- rake >= 0 development
- rb-readline >= 0 development
- rspec ~> 3.7 development
- rubocop-ast = 1.4.1 development
- actions/checkout v7 composite
- fernandrone/linelint master composite
- r7kamura/rubocop-problem-matchers-action v1 composite
- ruby/setup-ruby v1 composite
- streetsidesoftware/cspell-action v8.4.0 composite
- wechuli/allcheckspassed v2 composite
- actionshub/dco main composite
- actionshub/get-pr-commits main composite
Score: 28.200427183953263