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 sinatra
Last synced: about 19 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 (about 17 years ago)
- Default Branch: main
- Last Pushed: 2026-04-17T16:40:03.000Z (13 days ago)
- Last Synced: 2026-04-23T23:01:50.407Z (7 days ago)
- Language: Ruby
- Homepage: http://www.chef.io
- Size: 293 KB
- Stars: 36
- Watchers: 60
- Forks: 26
- Open Issues: 5
- 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
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 & Copyright
- Copyright:: Copyright (c) 2008-2019 Chef Software, Inc.
- 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.
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: 245
- Last ynced at: 2023-04-10T00:51:04.360Z
- Profile URL: https://github.com/chef
GitHub Events
Total
- Delete event: 6
- Pull request event: 30
- Fork event: 1
- Watch event: 1
- Issue comment event: 53
- Push event: 28
- Pull request review event: 20
- Pull request review comment event: 3
- Create event: 11
Last Year
- Delete event: 4
- Pull request event: 10
- Issue comment event: 13
- Push event: 13
- Pull request review event: 7
- Create event: 3
Committers metadata
Last synced: 2 days ago
Total Commits: 230
Total Committers: 43
Avg Commits per committer: 5.349
Development Distribution Score (DDS): 0.783
Commits in past year: 17
Committers in past year: 9
Avg Commits per committer in past year: 1.889
Development Distribution Score (DDS) in past year: 0.588
| Name | Commits | |
|---|---|---|
| Tim Smith | t****4@g****m | 50 |
| Chef Expeditor | c****i@c****o | 39 |
| 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 |
| Ryan Davis | r****y@z****m | 5 |
| Thomas Powell | t****l@p****m | 5 |
| John Keiser | j****r@o****m | 4 |
| Max Horbul | m****x@g****t | 4 |
| poornima | p****m@p****m | 4 |
| Chef Expeditor | e****r@c****o | 3 |
| Lamont Granquist | l****t@s****g | 3 |
| Phil Dibowitz | p****l@i****m | 3 |
| Thom May | t****m@m****t | 3 |
| dependabot[bot] | 4****] | 3 |
| Matt Wrock | m****t@m****m | 2 |
| Rishi Kumar Chawda | r****a | 2 |
| Stan Hu | s****u@g****m | 2 |
| jayashri garud | j****d@m****m | 2 |
| sersut | s****r@o****m | 2 |
| nandanhegde73 | 2****3 | 1 |
| dependabot-preview[bot] | 2****] | 1 |
| dcrosby | d****y@m****m | 1 |
| chef-expeditor[bot] | 4****] | 1 |
| and 13 more... | ||
Committer domains:
- opscode.com: 8
- progress.com: 6
- chef.io: 4
- msystechnologies.com: 2
- johnkeiser.com: 1
- fedoraproject.org: 1
- newrelic.com: 1
- splunk.com: 1
- meta.com: 1
- mattwrock.com: 1
- may.lt: 1
- ipom.com: 1
- scriptkiddie.org: 1
- gorbul.net: 1
- zenspider.com: 1
- junglist.gen.nz: 1
Issue and Pull Request metadata
Last synced: 13 days ago
Total issues: 11
Total pull requests: 106
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.71
Merged pull request: 71
Bot issues: 1
Bot pull requests: 15
Past year issues: 0
Past year pull requests: 16
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: 8
Past year average comments per issue: 0
Past year average comments per pull request: 1.69
Past year merged pull request: 6
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 (18)
- dependabot[bot] (14)
- thommay (12)
- olleolleolle (7)
- jaymzh (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 (15)
- Expeditor: Skip All (7)
- Expeditor: Bump Version Minor (5)
- oss-standards (5)
- ruby (4)
- Type: Bug (3)
- Type: Chore (1)
- Expeditor: Skip Version Bump (1)
- ai-assisted (1)
Package metadata
- Total packages: 11
-
Total downloads:
- rubygems: 129,361,915 total
- Total docker downloads: 923,643,604
- Total dependent packages: 56 (may contain duplicates)
- Total dependent repositories: 8,607 (may contain duplicates)
- Total versions: 57
- 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 about 1 year ago)
- Last Synced: 2026-04-29T02:01:55.232Z (2 days ago)
- Versions: 24
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 64,687,875 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 about 1 year ago)
- Last Synced: 2026-04-28T01:01:02.149Z (3 days ago)
- Versions: 24
- Dependent Packages: 56
- Dependent Repositories: 8,607
- Downloads: 64,674,040 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)
ubuntu-22.04: ruby-mixlib-log
- Homepage: https://github.com/chef/mixlib-log
- Licenses:
- Latest release: 3.0.8-1 (published 3 months ago)
- Last Synced: 2026-03-13T13:35:51.768Z (about 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:
- Latest release: 3.0.8-1 (published 3 months ago)
- Last Synced: 2026-03-11T07:10:00.411Z (about 2 months 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:
- Latest release: 3.0.8-1 (published 3 months ago)
- Last Synced: 2026-03-13T23:44:51.242Z (about 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.10: ruby-mixlib-log
- Homepage: https://github.com/chef/mixlib-log
- Licenses:
- Latest release: 3.0.8-1 (published 3 months ago)
- Last Synced: 2026-03-14T03:15:00.065Z (about 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-24.10: ruby-mixlib-log
- Homepage: https://github.com/chef/mixlib-log
- Licenses:
- Latest release: 3.0.8-1 (published 3 months ago)
- Last Synced: 2026-03-09T17:07:50.737Z (about 2 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:
- Latest release: 3.0.8-1 (published 3 months ago)
- Last Synced: 2026-03-14T04:24:30.010Z (about 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:
- Latest release: 3.0.8-1 (published 3 months ago)
- Last Synced: 2026-03-13T20:21:10.993Z (about 2 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:
- Latest release: 3.1.2-1 (published 3 months ago)
- Last Synced: 2026-03-14T18:08:18.580Z (about 2 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
Score: 28.24969526284432