-
Notifications
You must be signed in to change notification settings - Fork 595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V3.0 #132
base: master
Are you sure you want to change the base?
V3.0 #132
Commits on Jun 27, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 78d709c - Browse repository at this point
Copy the full SHA 78d709cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aa94be - Browse repository at this point
Copy the full SHA 3aa94beView commit details -
Configuration menu - View commit details
-
Copy full SHA for cbb980c - Browse repository at this point
Copy the full SHA cbb980cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5265fd1 - Browse repository at this point
Copy the full SHA 5265fd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for afe0d23 - Browse repository at this point
Copy the full SHA afe0d23View commit details
Commits on Jul 18, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 2837c0e - Browse repository at this point
Copy the full SHA 2837c0eView commit details
Commits on Jul 23, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 8b22400 - Browse repository at this point
Copy the full SHA 8b22400View commit details
Commits on Jul 25, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 689fc50 - Browse repository at this point
Copy the full SHA 689fc50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d3dfa6 - Browse repository at this point
Copy the full SHA 6d3dfa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d28785c - Browse repository at this point
Copy the full SHA d28785cView commit details
Commits on May 11, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 894827f - Browse repository at this point
Copy the full SHA 894827fView commit details
Commits on May 12, 2015
-
Merge pull request #11 from elithrar/v2.0
Fixed import in example test to use gopkg.in.
Configuration menu - View commit details
-
Copy full SHA for 75cb349 - Browse repository at this point
Copy the full SHA 75cb349View commit details
Commits on May 21, 2015
-
Fixes bug #12. If the first write to a file would cause it to rotate, instead of rotating, we'd just move it aside. This change fixes that problem by ensuring that we just run rotate in this situation, which does the right thing (open new and then cleanup.) Also added test to verify the fix.
Configuration menu - View commit details
-
Copy full SHA for 588a21f - Browse repository at this point
Copy the full SHA 588a21fView commit details
Commits on Jun 22, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 20b71e5 - Browse repository at this point
Copy the full SHA 20b71e5View commit details
Commits on Oct 11, 2015
-
Configuration menu - View commit details
-
Copy full SHA for a8ed6f4 - Browse repository at this point
Copy the full SHA a8ed6f4View commit details
Commits on Oct 13, 2015
-
Merge pull request #14 from bz2/use_yaml_v2
Switch to using gopkg.in/yaml.v2
Configuration menu - View commit details
-
Copy full SHA for 600ceb4 - Browse repository at this point
Copy the full SHA 600ceb4View commit details
Commits on Jan 25, 2016
-
Update rotate_test.go to use v2 of project
Hi there. I thought it would be nice for the rotate example to use v2 of the package.
Tim Potter committedJan 25, 2016 Configuration menu - View commit details
-
Copy full SHA for 3cfd7a4 - Browse repository at this point
Copy the full SHA 3cfd7a4View commit details -
Use gopkg.in provider instead of github
Tim Potter committedJan 25, 2016 Configuration menu - View commit details
-
Copy full SHA for 5bae0dc - Browse repository at this point
Copy the full SHA 5bae0dcView commit details -
Merge pull request #19 from tpot/patch-1
Update rotate_test.go to use v2 of project
Configuration menu - View commit details
-
Copy full SHA for 514cbda - Browse repository at this point
Copy the full SHA 514cbdaView commit details
Commits on Oct 7, 2016
-
This fixes #20 by using a more restrictive filemode during tests.
Configuration menu - View commit details
-
Copy full SHA for e21e5cb - Browse repository at this point
Copy the full SHA e21e5cbView commit details
Commits on Nov 4, 2016
-
Configuration menu - View commit details
-
Copy full SHA for dd45e6a - Browse repository at this point
Copy the full SHA dd45e6aView commit details
Commits on May 31, 2017
-
Add support for log file compression (#43)
* Check test file content, not just length. It is insufficient to just check the length of test files, especially given that many of the tests result in multiple files that have the same content/length. Instead, actually check that the file content is what it is expected to be. Vary the content that is being written so that the test failures become apparent. This also fixes a case where the length of the wrong value is checked following a write (it happens to work since the length of the value checked is the same as that written). * Make timeFromName actually return a time. Simplify the timeFromName parsing (we only need to slice once, not twice) and actually parse the extracted time in the timeFromName function rather than returning an abitrary string that may or may not be a time. Also conver the timeFromName tests into table driven tests. * Add support for compressing log files. Rather than scanning for old log files (under lock) when a rotation occurs, a goroutine is started when we first open or create a log file. Post-rotation compression (if enabled) and removal of stale log files is now designated to this goroutine. Scanning, removal and compression are run in the same goroutine in order to minimise background disk I/O, with removals being processed prior to compression in order to free up disk space. This results in a small change in existing behaviour - previously only logs would be removed when the first rotation occurs, whereas now logs will potentially be removed when logging first starts. * Rework file ownership test. Previously the test only verified that the code called Chown but failed to verify what it actually called Chown on. This reworks the code so that we have a fake file system that tracks file ownership. This also simplifies upcoming additional tests. * Clone file owner and mode on compressed log. Clone the log file owner and the log file mode to the compressed log file. Add tests to ensure that this is handled correctly.
Configuration menu - View commit details
-
Copy full SHA for a96e638 - Browse repository at this point
Copy the full SHA a96e638View commit details -
Configuration menu - View commit details
-
Copy full SHA for df99d62 - Browse repository at this point
Copy the full SHA df99d62View commit details
Commits on Sep 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for aee4629 - Browse repository at this point
Copy the full SHA aee4629View commit details
Commits on Aug 17, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 7d6a187 - Browse repository at this point
Copy the full SHA 7d6a187View commit details
Commits on Apr 11, 2019
-
Make default file permissions more restrictive (#83)
This asures that the process can still read and write its own log file, but that other users cannot. This is a fairly standard mode for log files in linux.
Configuration menu - View commit details
-
Copy full SHA for 2e8fbee - Browse repository at this point
Copy the full SHA 2e8fbeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b74a4d - Browse repository at this point
Copy the full SHA 4b74a4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94d9e49 - Browse repository at this point
Copy the full SHA 94d9e49View commit details
Commits on Oct 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 47ffae2 - Browse repository at this point
Copy the full SHA 47ffae2View commit details
Commits on Jun 29, 2021
-
Fernando Silva committed
Jun 29, 2021 Configuration menu - View commit details
-
Copy full SHA for ac7d08a - Browse repository at this point
Copy the full SHA ac7d08aView commit details -
Fernando Silva committed
Jun 29, 2021 Configuration menu - View commit details
-
Copy full SHA for 7918c36 - Browse repository at this point
Copy the full SHA 7918c36View commit details