<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rebar3.git/src, branch master</title>
<subtitle>Clone of https://github.com/erlang/rebar3</subtitle>
<link rel='alternate' type='text/html' href='https://git-prod-1.sunet.se/rebar3.git/'/>
<entry>
<title>Merge pull request #2155 from g-andrade/feature/profile-string-overlay-var</title>
<updated>2019-10-04T14:55:45+00:00</updated>
<author>
<name>Fred Hebert</name>
<email>mononcqc@ferd.ca</email>
</author>
<published>2019-10-04T14:55:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git-prod-1.sunet.se/rebar3.git/commit/?id=8cdf023455bed2601b8bebe807b0c4acfecf5d0d'/>
<id>8cdf023455bed2601b8bebe807b0c4acfecf5d0d</id>
<content type='text'>
Support `profile_string` overlay var in releases</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support `profile_string` overlay var in releases</pre>
</div>
</content>
</entry>
<entry>
<title>Reload logger config in CT suites</title>
<updated>2019-10-04T13:27:26+00:00</updated>
<author>
<name>Fred Hebert</name>
<email>mononcqc@ferd.ca</email>
</author>
<published>2019-10-04T13:27:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git-prod-1.sunet.se/rebar3.git/commit/?id=2addcfebe26e14c08b988e17c0a1abfd92a8f7a3'/>
<id>2addcfebe26e14c08b988e17c0a1abfd92a8f7a3</id>
<content type='text'>
Fixes #2159; this is done by force-reloading the handlers to match the
config.
This can create a bit of a funny effect if sys.config specifies an INFO
log level (or lower) is specified. While apps are booted for config
changes before the cth_failonly hook is enabled, supervision and other
application log messages can start being output. They will start being
suppressed once the CT run begins.

This is not a bug, it's a race in instantiation of control and enabling
of log levels. Nothing we can do about that. It might however surprise
people a good bit. If non-default stdout handlers are added, they are
similarly likely to become noisy; specifying a test-specific sys.config
file may be necessary then.

Also includes a bump of cth_readable version, which now checks for
updates to the log formatter on every test output.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #2159; this is done by force-reloading the handlers to match the
config.
This can create a bit of a funny effect if sys.config specifies an INFO
log level (or lower) is specified. While apps are booted for config
changes before the cth_failonly hook is enabled, supervision and other
application log messages can start being output. They will start being
suppressed once the CT run begins.

This is not a bug, it's a race in instantiation of control and enabling
of log levels. Nothing we can do about that. It might however surprise
people a good bit. If non-default stdout handlers are added, they are
similarly likely to become noisy; specifying a test-specific sys.config
file may be necessary then.

Also includes a bump of cth_readable version, which now checks for
updates to the log formatter on every test output.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix function overspec.</title>
<updated>2019-09-02T22:53:57+00:00</updated>
<author>
<name>Guilherme Andrade</name>
<email>g@gandrade.net</email>
</author>
<published>2019-09-02T22:53:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git-prod-1.sunet.se/rebar3.git/commit/?id=df808931cc72348b5375e041e9b2821f660c1ef4'/>
<id>df808931cc72348b5375e041e9b2821f660c1ef4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing function spec.</title>
<updated>2019-09-02T22:30:43+00:00</updated>
<author>
<name>Guilherme Andrade</name>
<email>g@gandrade.net</email>
</author>
<published>2019-09-02T22:30:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git-prod-1.sunet.se/rebar3.git/commit/?id=0cb050e93be41afcc0f063d5110a73dcf8fcb176'/>
<id>0cb050e93be41afcc0f063d5110a73dcf8fcb176</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't export internal function definition</title>
<updated>2019-09-01T22:46:59+00:00</updated>
<author>
<name>Guilherme Andrade</name>
<email>g@gandrade.net</email>
</author>
<published>2019-09-01T22:45:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git-prod-1.sunet.se/rebar3.git/commit/?id=8412c684f9b4a33c18c234c1b4c7d50185e66971'/>
<id>8412c684f9b4a33c18c234c1b4c7d50185e66971</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2149 from dmitrivereshchagin/fix-logger-reset</title>
<updated>2019-09-01T22:15:16+00:00</updated>
<author>
<name>Fred Hebert</name>
<email>mononcqc@ferd.ca</email>
</author>
<published>2019-09-01T22:15:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git-prod-1.sunet.se/rebar3.git/commit/?id=e2ac32175806a80a3a92f1e5f554ee7688259350'/>
<id>e2ac32175806a80a3a92f1e5f554ee7688259350</id>
<content type='text'>
Disable the default logger handler in shell if required</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disable the default logger handler in shell if required</pre>
</div>
</content>
</entry>
<entry>
<title>Support `profile_string` overlay variable in releases</title>
<updated>2019-08-31T17:32:48+00:00</updated>
<author>
<name>Guilherme Andrade</name>
<email>g@gandrade.net</email>
</author>
<published>2019-08-15T19:38:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git-prod-1.sunet.se/rebar3.git/commit/?id=10974bb9d5199fdbe1340d141f9a6add95aecf90'/>
<id>10974bb9d5199fdbe1340d141f9a6add95aecf90</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix formatting of literal expression within comment</title>
<updated>2019-08-31T17:15:13+00:00</updated>
<author>
<name>Guilherme Andrade</name>
<email>g@gandrade.net</email>
</author>
<published>2019-08-15T15:48:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git-prod-1.sunet.se/rebar3.git/commit/?id=4033e65aaa53dc6f46e9d1d7fcbfee0dcccac487'/>
<id>4033e65aaa53dc6f46e9d1d7fcbfee0dcccac487</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix case clause which used wrong element order</title>
<updated>2019-08-30T13:19:24+00:00</updated>
<author>
<name>Tino Breddin</name>
<email>t@tolbrino.com</email>
</author>
<published>2019-08-30T13:19:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git-prod-1.sunet.se/rebar3.git/commit/?id=6d6a441370bee4aa78c1d2916e74b52a9b49d40a'/>
<id>6d6a441370bee4aa78c1d2916e74b52a9b49d40a</id>
<content type='text'>
See http://erlang.org/doc/man/ct_hooks.html#Module:on_tc_fail-4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See http://erlang.org/doc/man/ct_hooks.html#Module:on_tc_fail-4
</pre>
</div>
</content>
</entry>
<entry>
<title>Disable the default logger handler in shell if required</title>
<updated>2019-08-28T04:40:56+00:00</updated>
<author>
<name>Dmitri Vereshchagin</name>
<email>dmitri.vereshchagin@gmail.com</email>
</author>
<published>2019-08-28T04:40:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git-prod-1.sunet.se/rebar3.git/commit/?id=0392742ceb52f5b8eefdd8138387b2c8f2e9fd48'/>
<id>0392742ceb52f5b8eefdd8138387b2c8f2e9fd48</id>
<content type='text'>
To avoid a conflict the Kernel's default handler have to be disabled
before the new default handler is added

    {kernel,
     [{logger,
       [{handler, default, undefined}
       ]}
     ]},
    {my_app,
     [{logger,
       [{handler, default, my_handler, #{}}
       ]}
     ]}

To support this behavior in shell it's necessary to process the
handler-default-undefined tuple.

It's not clear what to do with the simple handler (logger_simple_h)
however.  It's added at the start and removed if a default handler was
added.  Should it be added in reread_logger_config/1 if there's no
default handler?
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To avoid a conflict the Kernel's default handler have to be disabled
before the new default handler is added

    {kernel,
     [{logger,
       [{handler, default, undefined}
       ]}
     ]},
    {my_app,
     [{logger,
       [{handler, default, my_handler, #{}}
       ]}
     ]}

To support this behavior in shell it's necessary to process the
handler-default-undefined tuple.

It's not clear what to do with the simple handler (logger_simple_h)
however.  It's added at the start and removed if a default handler was
added.  Should it be added in reread_logger_config/1 if there's no
default handler?
</pre>
</div>
</content>
</entry>
</feed>
