summaryrefslogtreecommitdiff
path: root/lib/gitlab/logger.rb
Commit message (Collapse)AuthorAgeFilesLines
* Memoize GitLab logger to reduce open file descriptorsStan Hu2017-10-241-2/+10
| | | | | | | | | We see that in gitlab-org/gitlab-ee#3664 that if we log a lot of data in Sidekiq workers, the number of open file descriptors reaches over 1000. To avoid this, we can memoize the logger per thread via RequestStore. Closes gitlab-org/gitlab-ee#3664
* Fix a potential timeout in `Gitlab::Logger.read_latest`Robert Speicher2017-08-221-6/+2
| | | | | | | | | | | If this method was called for a file that didn't exist, we attempted to first `build` it. But if the file wasn't writeable, such as a symlink pointing to an unmounted filesystem, the method would just hang and eventually timeout. Further, this was entirely pointless since we were creating a file and then shelling out to `tail`, eventually returning an empty Array. Now we just skip building it and return the empty Array straight away.
* Dry admin logs.Ciro Santilli2014-10-061-0/+4
|
* Add parenthesis to function def with arguments.Ciro Santilli2014-10-031-1/+1
|
* Replace backticks with Gitlab::PopenJacob Vosmaer2014-03-031-2/+4
|
* show production.log, show only active milestone for issue filterDmitriy Zaporozhets2012-12-191-0/+5
|
* Improve admin logsDmitriy Zaporozhets2012-11-291-1/+1
|
* Use Rails.root.join where appropriateRobert Speicher2012-09-261-1/+1
|
* Application loggerrandx2012-09-111-6/+2
|
* Create the githost.log file if necessary.Pat Thoyts2012-07-211-0/+1
| | | | | | This resolves issue #1121. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
* CHANGELOG updated. Fixed MR bug. Logger improvedDmitriy Zaporozhets2012-07-171-4/+14
|
* Admin logs improved. Commits list box styledDmitriy Zaporozhets2012-07-161-1/+1
|
* Admin gitolite logs. Refactored project creation. Few style fixes.Dmitriy Zaporozhets2012-07-051-0/+6
|
* lib/ refactoring. Module Gitlabhq renamed to Gitlabrandx2012-05-261-0/+8