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 feature-flag sidekiq ruby-gem
Last synced: about 21 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 (almost 17 years ago)
- Default Branch: main
- Last Pushed: 2026-01-27T21:53:26.000Z (about 1 month ago)
- Last Synced: 2026-02-18T18:18:07.373Z (13 days ago)
- Language: Ruby
- Homepage: http://www.chef.io
- Size: 286 KB
- Stars: 36
- Watchers: 61
- 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
- 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: 52
- Push event: 26
- Pull request review event: 20
- Pull request review comment event: 3
- Create event: 11
Last Year
- Delete event: 6
- Pull request event: 23
- Fork event: 1
- Watch event: 1
- Issue comment event: 40
- Push event: 19
- Pull request review event: 15
- Create event: 7
Committers metadata
Last synced: about 23 hours ago
Total Commits: 227
Total Committers: 42
Avg Commits per committer: 5.405
Development Distribution Score (DDS): 0.78
Commits in past year: 22
Committers in past year: 9
Avg Commits per committer in past year: 2.444
Development Distribution Score (DDS) in past year: 0.5
| Name | Commits | |
|---|---|---|
| Tim Smith | t****4@g****m | 50 |
| Chef Expeditor | c****i@c****o | 38 |
| 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 |
| Thom May | t****m@m****t | 3 |
| dependabot[bot] | 4****] | 3 |
| Matt Wrock | m****t@m****m | 2 |
| Phil Dibowitz | p****l@i****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 12 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
- ipom.com: 1
- mattwrock.com: 1
- may.lt: 1
- scriptkiddie.org: 1
- gorbul.net: 1
- zenspider.com: 1
- junglist.gen.nz: 1
Issue and Pull Request metadata
Last synced: 11 days ago
Total issues: 11
Total pull requests: 104
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.72
Merged pull request: 69
Bot issues: 1
Bot pull requests: 15
Past year issues: 0
Past year pull requests: 22
Past year average time to close issues: N/A
Past year average time to close pull requests: about 1 month
Past year issue authors: 0
Past year pull request authors: 9
Past year average comments per issue: 0
Past year average comments per pull request: 1.41
Past year merged pull request: 8
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)
- rishichawda (5)
- jaymzh (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: 127,826,663 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 11 months ago)
- Last Synced: 2026-03-01T06:04:05.021Z (3 days ago)
- Versions: 24
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 63,914,391 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 11 months ago)
- Last Synced: 2026-02-28T21:01:11.648Z (3 days ago)
- Versions: 24
- Dependent Packages: 56
- Dependent Repositories: 8,607
- Downloads: 63,912,272 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)
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 21 days ago)
- Last Synced: 2026-02-13T08:22:38.146Z (18 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:
- Latest release: 3.0.8-1 (published 19 days ago)
- Last Synced: 2026-02-12T23:35:17.404Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
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 19 days ago)
- Last Synced: 2026-02-13T13:17:34.873Z (18 days 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.22470574289754