aboutsummaryrefslogtreecommitdiffstats
path: root/container-accesslogging/src/main/java/com/yahoo/container/logging/LogFileHandler.java
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Merge container-accesslogging into jdisc_http_service""Bjørn Christian Seime2021-01-111-397/+0
|
* Revert "Merge container-accesslogging into jdisc_http_service"Bjørn Christian Seime2021-01-111-0/+397
|
* Merge container-accesslogging into jdisc_http_serviceBjørn Christian Seime2021-01-111-397/+0
|
* Revert "Revert "Simplify symlink""Håkon Hallingstad2020-12-081-8/+1
|
* Revert "Simplify symlink"Harald Musum2020-12-071-1/+8
|
* Simplify symlinkHåkon Hallingstad2020-12-021-8/+1
| | | | | | | The symlink points to a file in the same directory. Therefore, instead of pointing to the absolute path, it should point to the filename. This also makes the symlink work on the host, if the symlink was made in a container (and vice versa).
* avoid calling nativeIO.dropPartialFileFromCache too oftenArne Juul2020-12-011-2/+4
| | | | | * there is no need to call fsync() every 100 milliseconds just to drop minimal amounts of data from the file system cache.
* Make fileName volatileBjørn Christian Seime2020-02-211-2/+1
|
* Only run super.flush in flush method. Also reset lastDropPosition when there ↵Henning Baldersheim2019-06-251-1/+2
| | | | is a new file.
* Continously drop from cache what you have written to the log.Henning Baldersheim2019-06-251-6/+20
|
* A utillity for manual testing on continous dropping from cache.Henning Baldersheim2019-06-241-1/+1
|
* Drop file continously from cache as we read it.Henning Baldersheim2019-06-241-37/+11
|
* use try-with-resources to ensure streams are closedArne Juul2019-05-231-5/+3
|
* Inline init method.gjoranv2019-01-211-4/+0
| | | | - Failed on assignment to final field.
* Track removal of fileHandler.rotateSchema from access-log.defTor Egge2019-01-211-15/+8
|
* Minor fixesJon Bratseth2018-10-141-2/+2
|
* Use ProcessExecuterJon Bratseth2018-10-121-4/+2
|
* Properly shutdown the executor service.Henning Baldersheim2018-10-101-3/+4
|
* Do compression in a different thread to avoid filling Q during compression.Henning Baldersheim2018-10-101-18/+24
|
* Test compression on logrotate and correct visibility and cleanup unused code.Henning Baldersheim2018-10-101-66/+51
|
* Do not delete uncompressed file on error.Henning Baldersheim2018-10-091-5/+9
|
* Must wait until gzip is actually done.Henning Baldersheim2018-10-091-1/+2
|
* Use full path instead of just filename, as it might contain a path.Henning Baldersheim2018-09-261-2/+3
|
* Do not try to compress or in any way handle a file that does not exist.Henning Baldersheim2018-09-261-9/+11
|
* Revert "Revert "Balder/add native fadvise""Henning Baldersheim2018-09-261-3/+17
|
* Revert "Balder/add native fadvise"Jon Marius Venstad2018-09-261-17/+3
|
* Fix comments from pull request review.Henning Baldersheim2018-09-261-4/+4
| | | | - Better naming and make static what can be static.
* Do not expose error.Henning Baldersheim2018-09-261-3/+17
| | | | Drop from cache after rotation.
* enforce log retention policiesArne Juul2018-09-061-1/+5
| | | | | | | | | | | * 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.
* Revert "Revert "Gjoranv/java9 prep 05""gjoranv2018-05-021-1/+1
|
* Revert "Gjoranv/java9 prep 05"gjoranv2018-05-021-1/+1
|
* Java 9: Replace 'new Long' with 'Long.valueOf'gjoranv2018-05-011-1/+1
|
* do not block waiting for gzip to finishArne Juul2018-04-171-2/+1
|
* hack in gzip of access logsArne Juul2018-03-111-5/+38
|
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Update copyright headers"Jon Bratseth2017-06-141-1/+1
|
* Update copyright headersJon Bratseth2017-06-141-1/+1
|
* Revert "Copyright header"Jon Bratseth2017-06-131-1/+1
|
* Copyright headerJon Bratseth2017-06-131-1/+1
|
* If there is nothing to do we will flush every 100ms, if not we will be a bit ↵Henning Baldersheim2016-09-121-7/+13
| | | | more relaxed.
* Actually remove the flush that was earlier replaced by ↵Henning Baldersheim2016-09-091-1/+0
| | | | flush-if-long-enough-since-last-flush
* - Allow 100k elements in the logging Q.Henning Baldersheim2016-09-091-6/+16
| | | | | - No need to flush after every message. - Once every 5 seconds should do.
* the "Logger" is a Daemon threadArne Juul2016-06-171-0/+1
| | | | | * this ensures the container can exit normally even if the access logging module isn't shutdown properly.
* PublishJon Bratseth2016-06-151-0/+363