<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/logger, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/logger] Enable log file rotation on Windows</title>
<updated>2024-12-04T07:45:39+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-10-09T05:05:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=edd3977b4024c27b92a8e132b2762226298a475a'/>
<id>edd3977b4024c27b92a8e132b2762226298a475a</id>
<content type='text'>
Since ruby 2.3, a file opened with `File::SHARE_DELETE` and
`File::BINARY` can be renamed or removed.

https://github.com/ruby/logger/commit/7b6146fee6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since ruby 2.3, a file opened with `File::SHARE_DELETE` and
`File::BINARY` can be renamed or removed.

https://github.com/ruby/logger/commit/7b6146fee6
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Enable subclasses to configure level isolation</title>
<updated>2024-11-07T00:17:16+00:00</updated>
<author>
<name>Hartley McGuire</name>
<email>skipkayhil@gmail.com</email>
</author>
<published>2024-11-07T00:17:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=342455e56fb4f5e0601f45c565baa9a909cf680e'/>
<id>342455e56fb4f5e0601f45c565baa9a909cf680e</id>
<content type='text'>
(https://github.com/ruby/logger/pull/103)

`Logger#with_level` was recently added to enable configuring a
`Logger`'s level for the duration of a block. However, the configured
level is always tied to the currently running `Fiber`, which is not
always ideal in applications that mix `Thread`s and `Fiber`s.

For example, Active Support has provided a similar feature
(`ActiveSupport::Logger#log_at`) which, depending on configuration, can
be isolated to either `Thread`s or `Fiber`s.

This commit enables subclasses of `Logger` to customize the level
isolation. Ideally, it will enable replacing most of Active Support's
`#log_at`, since both methods end up serving the same purpose.

https://github.com/ruby/logger/commit/dae2b832cd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/logger/pull/103)

`Logger#with_level` was recently added to enable configuring a
`Logger`'s level for the duration of a block. However, the configured
level is always tied to the currently running `Fiber`, which is not
always ideal in applications that mix `Thread`s and `Fiber`s.

For example, Active Support has provided a similar feature
(`ActiveSupport::Logger#log_at`) which, depending on configuration, can
be isolated to either `Thread`s or `Fiber`s.

This commit enables subclasses of `Logger` to customize the level
isolation. Ideally, it will enable replacing most of Active Support's
`#log_at`, since both methods end up serving the same purpose.

https://github.com/ruby/logger/commit/dae2b832cd
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Add reraise_write_errors keyword argument to Logger and LogDevice</title>
<updated>2024-07-11T15:25:17+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-08-16T16:12:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c698180e68a0f417415cd087efc303931af3bb3e'/>
<id>c698180e68a0f417415cd087efc303931af3bb3e</id>
<content type='text'>
This allows the user to specify exception classes to treat as regular
exceptions instead of being swallowed.  Among other things, it is
useful for having Logger work with Timeout.

Fixes Ruby Bug 9115.

https://github.com/ruby/logger/commit/436a7d680f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows the user to specify exception classes to treat as regular
exceptions instead of being swallowed.  Among other things, it is
useful for having Logger work with Timeout.

Fixes Ruby Bug 9115.

https://github.com/ruby/logger/commit/436a7d680f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Add support for symbols in #shift_age</title>
<updated>2024-06-06T09:07:49+00:00</updated>
<author>
<name>Baron Bloomer</name>
<email>baronbloomer@gmail.com</email>
</author>
<published>2022-04-07T11:32:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d4aff75a454ddfcf039fddb4bccd46087e50f12e'/>
<id>d4aff75a454ddfcf039fddb4bccd46087e50f12e</id>
<content type='text'>
Resolves issue: https://github.com/ruby/logger/issues/46

https://github.com/ruby/logger/commit/83502c2107
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolves issue: https://github.com/ruby/logger/issues/46

https://github.com/ruby/logger/commit/83502c2107
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Add Logger#with_level{...} for block-scoped log level.</title>
<updated>2023-02-10T01:08:49+00:00</updated>
<author>
<name>Mike Perham</name>
<email>mike@perham.net</email>
</author>
<published>2023-02-10T01:08:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=194520f80e1cdb71faa055d731450855a1ddb8d1'/>
<id>194520f80e1cdb71faa055d731450855a1ddb8d1</id>
<content type='text'>
(https://github.com/ruby/logger/pull/85)

* Update lib/logger/severity.rb

https://github.com/ruby/logger/commit/7aabb0b4aa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/logger/pull/85)

* Update lib/logger/severity.rb

https://github.com/ruby/logger/commit/7aabb0b4aa
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Fix log rotation inter-process lock failed.</title>
<updated>2022-01-27T03:33:06+00:00</updated>
<author>
<name>Jesse Chavez</name>
<email>jesse.chavez.r@gmail.com</email>
</author>
<published>2022-01-26T19:05:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=99d02caed3fb86a8bbe3ae6daddf2517e2f3f441'/>
<id>99d02caed3fb86a8bbe3ae6daddf2517e2f3f441</id>
<content type='text'>
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 -&gt; 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 -&gt; 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
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Removed loading old helper file and load Logger class by itself</title>
<updated>2021-12-17T23:38:58+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-12-16T04:49:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e442ec4ea0bf28409afbf236efc05a919ce66b2c'/>
<id>e442ec4ea0bf28409afbf236efc05a919ce66b2c</id>
<content type='text'>
https://github.com/ruby/logger/commit/5ee0fd6e51
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/logger/commit/5ee0fd6e51
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Test cases</title>
<updated>2021-12-17T23:38:58+00:00</updated>
<author>
<name>Baron Bloomer</name>
<email>baronbloomer@gmail.com</email>
</author>
<published>2021-08-17T10:57:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=43755468102e3d62830d076d1fae0d6beba2b25b'/>
<id>43755468102e3d62830d076d1fae0d6beba2b25b</id>
<content type='text'>
https://github.com/ruby/logger/commit/40adb645e2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/logger/commit/40adb645e2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Ignored loading CoreAssertions in test runner</title>
<updated>2021-09-14T23:49:24+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-09-14T11:53:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8f6b42e0cb5c41255b51d1d09086eb7748f9ac69'/>
<id>8f6b42e0cb5c41255b51d1d09086eb7748f9ac69</id>
<content type='text'>
https://github.com/ruby/logger/commit/2fd5401ad6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/logger/commit/2fd5401ad6
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Consider cygwin a Windows platform</title>
<updated>2020-12-04T11:16:00+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2020-09-22T18:22:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6f14a30022e284398017b47d37f3f717f384f985'/>
<id>6f14a30022e284398017b47d37f3f717f384f985</id>
<content type='text'>
This should fix Ruby Bug 12468.

https://github.com/ruby/logger/commit/49de53d1fc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should fix Ruby Bug 12468.

https://github.com/ruby/logger/commit/49de53d1fc
</pre>
</div>
</content>
</entry>
</feed>
