aboutsummaryrefslogtreecommitdiffstats
path: root/lib/logger
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/logger] Enhanced RDoc for LoggerBurdetteLamar2022-05-131-1/+1
| | | | https://github.com/ruby/logger/commit/16556d06d1
* [ruby/logger] Prefer String#[0, 1] over [0..0]Akira Matsuda2022-05-051-1/+1
| | | | | | [0..0] internally creates an extra Array object, and so is slower and much more memory consuming https://github.com/ruby/logger/commit/20616ad34a
* [ruby/logger] bump version to 1.5.1Hiroshi SHIBATA2022-03-171-1/+1
| | | | https://github.com/ruby/logger/commit/c4a4155ab7
* [ruby/logger] Fix log rotation inter-process lock failed.Jesse Chavez2022-01-271-1/+1
| | | | | | | | | | | | Issue only occurs in JRuby 9.3.0.0 and Windows and the full console output is: log rotation inter-process lock failed. D:\log.txt -> D:\log.txt.0: The process cannot access the file because it is being used by another process. log writing failed. closed stream log writing failed. closed stream ... https://github.com/ruby/logger/commit/19fc734638
* [ruby/logger] Bump version to 1.5.0Hiroshi SHIBATA2021-12-201-1/+1
| | | | https://github.com/ruby/logger/commit/cdeddb2f67
* [ruby/logger] Changes to datetime formattingBaron Bloomer2021-12-181-2/+3
| | | | | | | Formatting a datetime should only pertain to itself and valid datetimes do not contain a space. Should there be a desire to show show a space between the datetime and the process pid in the formatted log, this formatting logic should take place there. Furthermore, the default datetime format is moved to a class variable to allowing this variable to be overwritten by subclasses. https://github.com/ruby/logger/commit/7cbd434349
* [ruby/logger] Bump up logger version to 1.4.4Hiroshi SHIBATA2021-10-191-1/+1
| | | | https://github.com/ruby/logger/commit/82a59c8d3f
* [ruby/logger] gemspec: Drop unused "executables" configurationOlle Jonsson2021-09-151-2/+0
| | | | | | This gem exposes 0 executables. https://github.com/ruby/logger/commit/fbd9315393
* Update library versions of the default gems.Hiroshi SHIBATA2020-12-221-1/+1
| | | | | They are followed up with https://github.com/ruby/ruby/commit/8fb02b7a97317090e3946e6f2d4a7d034f9699f1
* [ruby/logger] Consider cygwin a Windows platformJeremy Evans2020-12-041-1/+1
| | | | | | This should fix Ruby Bug 12468. https://github.com/ruby/logger/commit/49de53d1fc
* Reference process PID using the Process#pidMaciej Mensfeld2020-09-291-1/+1
| | | This change will allow formatter to run from Ractors other than main.
* Update the license for the default gems to dual licensesHiroshi SHIBATA2020-08-181-1/+1
|
* Suppress security alertsTakashi Kokubun2020-02-281-1/+1
| | | | https://github.com/advisories/GHSA-jppv-gw3r-w3q8
* [ruby/logger] bump version to 1.4.2Hiroshi SHIBATA2019-12-101-1/+1
| | | | https://github.com/ruby/logger/commit/d6c01cc652
* [ruby/logger] Raise ArgumentError for invalid shift_ageJeremy Evans2019-12-101-2/+6
| | | | | | | | | Consider 'now' and 'everytime' as valid values for the previous behavior of rotating everytime. Fixes Ruby Bug 15977 https://github.com/ruby/logger/commit/f92979a376
* Merge the upstream changes for test-unit on ruby/logger.Hiroshi SHIBATA2019-12-091-1/+2
| | | | | | | This commits are based with: https://github.com/ruby/logger/commit/f067f7d1aa743b467d633ec6d1790bd93ed9e25b https://github.com/ruby/logger/commit/86058f420d8f6909500cccceb24f58bef0597b4d https://github.com/ruby/logger/commit/02db6e8ed85d1f4ba974f08fee292bad400d9fc2
* [ruby/logger] 1.4.1sonots2019-12-091-1/+1
| | | | https://github.com/ruby/logger/commit/5987f518d1
* [ruby/logger] Fixes #38Hiroshi SHIBATA2019-12-091-1/+1
| | | | https://github.com/ruby/logger/commit/31efbb29ff
* [ruby/logger] 1.4.0sonots2019-12-092-3/+3
| | | | https://github.com/ruby/logger/commit/8127ce0b56
* [ruby/logger] Avoid creating [] and "" when logging an Exception that has no ↵Akira Matsuda2019-12-091-1/+1
| | | | | | backtrace https://github.com/ruby/logger/commit/75fd308053
* [ruby/logger] frozen_string_literal: truesonots2019-12-095-4/+13
| | | | https://github.com/ruby/logger/commit/a057eede7b
* Fixed LoadError of version file.Hiroshi SHIBATA2019-07-151-1/+1
|
* Fixed inconsitency locations of default gems.Hiroshi SHIBATA2019-07-151-0/+28
|
* [ruby/logger] Add option to set the binary mode of the log deviceRafael Mendonça França2019-07-151-1/+4
| | | | | | | | | | | | Without binmode strings with incompatible encoding can't be written in the file. This is very common in applications that log user provided parameters. We need to allow changing the binnary mode because right now it is impossible to use the built-in log rotation feature when you provide a File object to the LogDevice, and if you provide a filename you can't have binmode. https://github.com/ruby/logger/commit/9114b3ac7e
* [ruby/logger] Set filename when initializing logger with a File objectJeremy Evans2019-07-151-0/+3
| | | | | | This should allow reopen to work. Requested in ruby issue #14595. https://github.com/ruby/logger/commit/bd367aff12
* [ruby/logger] Prefer require_relative, it's a little bit faster.Samuel Williams2019-07-151-1/+1
| | | | https://github.com/ruby/logger/commit/1e2aab4bea
* [ruby/logger] require 'logger/errors' just for compatsonots2019-07-151-1/+1
| | | | https://github.com/ruby/logger/commit/255a51dc10
* [ruby/logger] split logger classes/modules into separate filesColby Swandale2019-07-156-0/+302
https://github.com/ruby/logger/commit/f10ce9fff2