Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Stabilize LogFileHandlerTestCase.testSymlink() | Bjørn Christian Seime | 2020-03-30 | 1 | -36/+32 |
| | | | | | | | | | - Loop until second file has expected file size - Improve naming of local variables - Remove unnecessary intermediate variables - Replace File.length() with Files.size() - Add test timeout - Simplify loops | ||||
* | Shutdown log handler thread at end of each test method | Bjørn Christian Seime | 2020-02-21 | 1 | -0/+5 |
| | | | | | The log handler will shutdown the JVM (logAndDie) if the junit temporarly folder rule performs cleanup prior to a log rotation. | ||||
* | Reduce use of long sleep periods | Bjørn Christian Seime | 2020-02-21 | 1 | -4/+3 |
| | |||||
* | Make fileName volatile | Bjørn Christian Seime | 2020-02-21 | 1 | -2/+1 |
| | |||||
* | Remove silly exception handling and conditional execution | Bjørn Christian Seime | 2020-02-21 | 1 | -38/+31 |
| | |||||
* | Use TemporaryFolder junit rule for temporary test files and directories | Bjørn Christian Seime | 2020-02-21 | 1 | -36/+25 |
| | |||||
* | Cleanup javadoc comment | Bjørn Christian Seime | 2020-02-21 | 1 | -3/+0 |
| | |||||
* | Cleanup author tag | Bjørn Christian Seime | 2020-02-21 | 1 | -1/+1 |
| | |||||
* | Improve test assertions for LogFileHandlerTestCase | Bjørn Christian Seime | 2020-02-21 | 2 | -20/+20 |
| | |||||
* | Explicitly declare maven-compiler-plugin to resolve import issues with IntelliJ | Bjørn Christian Seime | 2020-02-21 | 1 | -0/+4 |
| | |||||
* | consume -> accept | Henning Baldersheim | 2020-02-12 | 1 | -3/+3 |
| | |||||
* | Render Inspectable. | Henning Baldersheim | 2020-02-12 | 1 | -1/+13 |
| | |||||
* | - Add trace as a field in the josn access log. | Henning Baldersheim | 2020-02-12 | 4 | -2/+231 |
| | | | | - Add the trace top the accesslog entry if debugging is enabled in SearchHandler. | ||||
* | Remove use of commons-lang from contrainer-accesslogging | Bjørn Christian Seime | 2020-01-06 | 2 | -8/+28 |
| | |||||
* | Add/corect copyright headers | Jon Bratseth | 2020-01-03 | 2 | -0/+2 |
| | |||||
* | Don't embed Jackson bundles | Bjørn Christian Seime | 2019-11-26 | 1 | -7/+2 |
| | |||||
* | add missing import for locale | slixurd | 2019-09-23 | 1 | -0/+1 |
| | | | add missing import | ||||
* | fix test case fail in LogFormatterTestCase | slixurd | 2019-09-22 | 1 | -4/+4 |
| | | | | | better define locale to us avoiding some special locale such as china/france which called sep to 9月/sept the test case will fail in enviroment using zh_CN.UTF-8 org.junit.ComparisonFailure: expected:<test20030825133035[Aug]> but was:<test20030825133035[8月]> | ||||
* | Remove findbugs annotations from code and build path. | gjoranv | 2019-09-09 | 1 | -5/+0 |
| | | | | | - jsr305 is needed by guava, which declares it as optional dep. - Remaining modules with annotations do not affect the container. | ||||
* | Only run super.flush in flush method. Also reset lastDropPosition when there ↵ | Henning Baldersheim | 2019-06-25 | 1 | -1/+2 |
| | | | | is a new file. | ||||
* | Continously drop from cache what you have written to the log. | Henning Baldersheim | 2019-06-25 | 1 | -6/+20 |
| | |||||
* | A utillity for manual testing on continous dropping from cache. | Henning Baldersheim | 2019-06-24 | 2 | -1/+11 |
| | |||||
* | Drop file continously from cache as we read it. | Henning Baldersheim | 2019-06-24 | 1 | -37/+11 |
| | |||||
* | use try-with-resources to ensure streams are closed | Arne Juul | 2019-05-23 | 1 | -5/+3 |
| | |||||
* | no need to ignore testng log files anymore. | Henning Baldersheim | 2019-04-29 | 1 | -3/+0 |
| | |||||
* | Merge pull request #8753 from vespa-engine/balder/coverage-in-json-access-log | Henning Baldersheim | 2019-03-12 | 4 | -13/+149 |
|\ | | | | | Add coverage info to access log | ||||
| * | Add coverage info to access log | Henning Baldersheim | 2019-03-12 | 4 | -13/+149 |
| | | |||||
* | | GC unused yapache log and derivatives. | Henning Baldersheim | 2019-03-11 | 4 | -1097/+1 |
|/ | |||||
* | Do TODOs | Jon Bratseth | 2019-01-21 | 1 | -2/+1 |
| | |||||
* | 6-SNAPSHOT -> 7-SNAPSHOT | Arnstein Ressem | 2019-01-21 | 1 | -2/+2 |
| | |||||
* | Inline init method. | gjoranv | 2019-01-21 | 1 | -4/+0 |
| | | | | - Failed on assignment to final field. | ||||
* | Remove AccessLogEntry.setURI/getURI | Bjørn Christian Seime | 2019-01-21 | 1 | -22/+0 |
| | |||||
* | Track removal of fileHandler.rotateSchema from access-log.def | Tor Egge | 2019-01-21 | 3 | -43/+11 |
| | |||||
* | Remove unused config settings. | Tor Egge | 2019-01-21 | 1 | -18/+0 |
| | |||||
* | Minor fixes | Jon Bratseth | 2018-10-14 | 2 | -3/+3 |
| | |||||
* | Use ProcessExecuter | Jon Bratseth | 2018-10-12 | 1 | -4/+2 |
| | |||||
* | Ensure the file is created when testing for it. | Henning Baldersheim | 2018-10-10 | 1 | -1/+1 |
| | |||||
* | Properly shutdown the executor service. | Henning Baldersheim | 2018-10-10 | 1 | -3/+4 |
| | |||||
* | Do compression in a different thread to avoid filling Q during compression. | Henning Baldersheim | 2018-10-10 | 1 | -18/+24 |
| | |||||
* | Test compression on logrotate and correct visibility and cleanup unused code. | Henning Baldersheim | 2018-10-10 | 2 | -68/+94 |
| | |||||
* | Do not delete uncompressed file on error. | Henning Baldersheim | 2018-10-09 | 1 | -5/+9 |
| | |||||
* | Must wait until gzip is actually done. | Henning Baldersheim | 2018-10-09 | 1 | -1/+2 |
| | |||||
* | Use full path instead of just filename, as it might contain a path. | Henning Baldersheim | 2018-09-26 | 1 | -2/+3 |
| | |||||
* | Do not try to compress or in any way handle a file that does not exist. | Henning Baldersheim | 2018-09-26 | 1 | -9/+11 |
| | |||||
* | Revert "Revert "Balder/add native fadvise"" | Henning Baldersheim | 2018-09-26 | 1 | -3/+17 |
| | |||||
* | Revert "Balder/add native fadvise" | Jon Marius Venstad | 2018-09-26 | 1 | -17/+3 |
| | |||||
* | Fix comments from pull request review. | Henning Baldersheim | 2018-09-26 | 1 | -4/+4 |
| | | | | - Better naming and make static what can be static. | ||||
* | Do not expose error. | Henning Baldersheim | 2018-09-26 | 1 | -3/+17 |
| | | | | Drop from cache after rotation. | ||||
* | Merge pull request #6837 from vespa-engine/arnej/add-retention-enforcer | Arne H Juul | 2018-09-10 | 2 | -2/+12 |
|\ | | | | | enforce log retention policies | ||||
| * | enforce log retention policies | Arne Juul | 2018-09-06 | 2 | -2/+12 |
| | | | | | | | | | | | | | | | | | | | | | | * for access logs, save meta-data about the log file itself in a simple format. * implement a proof-of-concept shell script that removes log files after one month. * ensure retention enforcer is started when services start * note that retention enforcer will continue running even after services stop, but it has protection to ensure that it won't multiply endlessly. |