<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/logger/log_device.rb, branch v3_3_11</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] Only assign to `@filename` if the path is valid.</title>
<updated>2022-12-08T03:28:18+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2022-12-08T03:28:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7ab4820af7b39e12023ab3aee74cb7e66e97f786'/>
<id>7ab4820af7b39e12023ab3aee74cb7e66e97f786</id>
<content type='text'>
(https://github.com/ruby/logger/pull/81)

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

https://github.com/ruby/logger/commit/b41d7c699c
</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] 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>
<entry>
<title>[ruby/logger] frozen_string_literal: true</title>
<updated>2019-12-09T10:17:31+00:00</updated>
<author>
<name>sonots</name>
<email>sonots@gmail.com</email>
</author>
<published>2019-03-21T16:14:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0aafc32995b935b6c46c8439a3e2da008cd683fc'/>
<id>0aafc32995b935b6c46c8439a3e2da008cd683fc</id>
<content type='text'>
https://github.com/ruby/logger/commit/a057eede7b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/logger/commit/a057eede7b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Add option to set the binary mode of the log device</title>
<updated>2019-07-15T05:43:08+00:00</updated>
<author>
<name>Rafael Mendonça França</name>
<email>rafaelmfranca@gmail.com</email>
</author>
<published>2019-06-04T22:07:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=58065b87018a9d1ed972b8c856004bf75728da02'/>
<id>58065b87018a9d1ed972b8c856004bf75728da02</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Set filename when initializing logger with a File object</title>
<updated>2019-07-15T05:43:08+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-05-17T00:35:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f4064a0a0c24734b1ec98e6e2dbdf5e38e856c41'/>
<id>f4064a0a0c24734b1ec98e6e2dbdf5e38e856c41</id>
<content type='text'>
This should allow reopen to work.  Requested in ruby issue #14595.

https://github.com/ruby/logger/commit/bd367aff12
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should allow reopen to work.  Requested in ruby issue #14595.

https://github.com/ruby/logger/commit/bd367aff12
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] Prefer require_relative, it's a little bit faster.</title>
<updated>2019-07-15T05:43:07+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2019-03-20T23:35:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3fdb963827fde7fbe1837763cb834842b8336fee'/>
<id>3fdb963827fde7fbe1837763cb834842b8336fee</id>
<content type='text'>
https://github.com/ruby/logger/commit/1e2aab4bea
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/logger/commit/1e2aab4bea
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/logger] split logger classes/modules into separate files</title>
<updated>2019-07-15T05:43:07+00:00</updated>
<author>
<name>Colby Swandale</name>
<email>me@colby.fyi</email>
</author>
<published>2018-12-12T03:08:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bbe157f34046ec9ef81e6ad9ed37c86a0d9155e4'/>
<id>bbe157f34046ec9ef81e6ad9ed37c86a0d9155e4</id>
<content type='text'>
https://github.com/ruby/logger/commit/f10ce9fff2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/logger/commit/f10ce9fff2
</pre>
</div>
</content>
</entry>
</feed>
