Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesstout/compress-upload-cocoalumberjack
Remote logging via NSURLSession transfer to upload compressed CocoaLumberjack logs to an HTTP server
https://github.com/jamesstout/compress-upload-cocoalumberjack
Last synced: about 1 month ago
JSON representation
Remote logging via NSURLSession transfer to upload compressed CocoaLumberjack logs to an HTTP server
- Host: GitHub
- URL: https://github.com/jamesstout/compress-upload-cocoalumberjack
- Owner: jamesstout
- License: other
- Created: 2020-05-07T12:26:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-16T23:14:39.000Z (over 3 years ago)
- Last Synced: 2024-11-13T12:19:12.536Z (about 2 months ago)
- Language: Objective-C
- Size: 79.1 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Compress-Upload-CocoaLumberjack
A mashup of the example [CompressingLogFileManager](https://github.com/CocoaLumberjack/CocoaLumberjack/tree/master/Demos/LogFileCompressor) in [CocoaLumberjack](https://github.com/CocoaLumberjack/CocoaLumberjack) and [BackgroundUpload-CocoaLumberjack](https://github.com/pushd/BackgroundUpload-CocoaLumberjack).
When the log file is rolled/archived, it's compressed, then uploaded to an HTTP server, and finally deleted.
## Example
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Requirements
A Web server endpoint capable of accepting `.gz` files.
## Installation
Compress-Upload-CocoaLumberjack is available through [CocoaPods](https://cocoapods.org). To install
it, simply add the following line to your Podfile:```ruby
pod 'Compress-Upload-CocoaLumberjack'
```## Author
jamesstout, [email protected]
### Inspiration
And a load of the code from [BackgroundUpload-CocoaLumberjack](https://github.com/pushd/BackgroundUpload-CocoaLumberjack).## License
Compress-Upload-CocoaLumberjack is available under the MIT license. See the LICENSE file for more info.