Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/petems/faraday-scrublogs
Faraday middleware for removing sensitive data from the faraday logs
https://github.com/petems/faraday-scrublogs
Last synced: 7 days ago
JSON representation
Faraday middleware for removing sensitive data from the faraday logs
- Host: GitHub
- URL: https://github.com/petems/faraday-scrublogs
- Owner: petems
- License: mit
- Created: 2013-07-12T08:10:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-12T22:26:43.000Z (over 11 years ago)
- Last Synced: 2024-10-19T23:44:56.216Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 152 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Faraday::Scrublogs
[![Build Status](https://travis-ci.org/petems/faraday-scrublogs.png?branch=master)](https://travis-ci.org/petems/faraday-scrublogs)
Faraday Middleware to scrub logs of sensitive information
Currently this is a fork from 'Faraday::Conductivity' that heavily modifies it for my needs...
Further information:
* [faraday](https://github.com/lostisland/faraday)
* [faraday_middleware](https://github.com/lostisland/faraday_middleware)## Installation
Add this line to your application's Gemfile:
``` ruby
gem 'faraday-scrublogs'
```And then execute:
```
$ bundle
```Or install it yourself as:
```
$ gem install Faraday::Conductivity
```## Usage
### Scrub Logs
Removes whatever you specify to remove from logs via regex
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request