<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/src/logging.rs, branch arti-v1.0.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-08-30T21:48:50Z</updated>
<entry>
<title>Mark a few APIs as experimental in docs.</title>
<updated>2022-08-30T21:48:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-30T21:48:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a07c4124b1d370b64f3e955a37a532023fc294ad'/>
<id>urn:sha1:a07c4124b1d370b64f3e955a37a532023fc294ad</id>
<content type='text'>
For example, see
https://tpo.pages.torproject.net/core/doc/rust/arti/fn.run.html :
this isn't labeled as `experimental-api`, but it should be.

These APIs were found by poking around in the `arti` crate.
</content>
</entry>
<entry>
<title>arti: Raise the default console log severity to "info"</title>
<updated>2022-08-25T13:10:42Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-25T13:10:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8fa1568b02a3cd4101f65b0e224151cb9813d0bc'/>
<id>urn:sha1:8fa1568b02a3cd4101f65b0e224151cb9813d0bc</id>
<content type='text'>
Previously we logged at "debug", but that's not meant to
user-facing.
</content>
</entry>
<entry>
<title>arti: Move most public APIs behind `experimental-api`.</title>
<updated>2022-08-11T19:35:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-08T14:14:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f548a6ac55b5f1feb92ea4ffe5c4882a2e19a739'/>
<id>urn:sha1:f548a6ac55b5f1feb92ea4ffe5c4882a2e19a739</id>
<content type='text'>
The remaining unconditionally public APIs are those related to our
configuration objects, and the main_main() API.

The rationale for making main_main() public is to have an actual
entry point.

The rationale for making the config APIs public is:

  1. We really do intend for others to be able to read our
     configuration files using this API.
  2. The structure of our configuration files is already part of our
     interface.

Closes #530.
</content>
</entry>
<entry>
<title>impl_standard_builder: Use for arti::logging::LogfileConfig</title>
<updated>2022-06-16T14:42:06Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-16T14:13:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c466f13ce35a1f64e17774dbbde195600f09ba83'/>
<id>urn:sha1:c466f13ce35a1f64e17774dbbde195600f09ba83</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: logging config: Replace a manual Debug impl</title>
<updated>2022-06-16T14:27:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-16T13:53:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c5bbaf470ac992d2af29b3ad60358575b3a34c27'/>
<id>urn:sha1:c5bbaf470ac992d2af29b3ad60358575b3a34c27</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: Do not strip_option for journald (and in future)</title>
<updated>2022-06-10T13:23:13Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-10T13:22:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77f33176c31c770aea5e1cdb97d0dbe57f89e674'/>
<id>urn:sha1:77f33176c31c770aea5e1cdb97d0dbe57f89e674</id>
<content type='text'>
As per point 1 in
  https://gitlab.torproject.org/tpo/core/arti/-/issues/488
</content>
</entry>
<entry>
<title>config: Provide tor_config::resolve_option and resolve journald</title>
<updated>2022-05-30T15:00:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-27T11:44:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fbfaecdf72be9db7998cf5351351fa8112cef1f4'/>
<id>urn:sha1:fbfaecdf72be9db7998cf5351351fa8112cef1f4</id>
<content type='text'>
Canonicalise the `logging.journald` setting in the validated
configuration.  Now it will never be `Some("")`, even if that is what
was written in the config file.

This allows us to write `journald = ""` in the example configuration.
(Without the canonicalisation the default builder produces `None` and
the example would produce `Some("")`, which are semantically identical
but fail the test.)

See https://gitlab.torproject.org/tpo/core/arti/-/issues/488 for some
background.
</content>
</entry>
<entry>
<title>Apply fs-mistrust to logfile directories.</title>
<updated>2022-05-24T14:54:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-23T15:43:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=25c64db575cc5f8426c026b29cb82ff7fa270c43'/>
<id>urn:sha1:25c64db575cc5f8426c026b29cb82ff7fa270c43</id>
<content type='text'>
</content>
</entry>
<entry>
<title>impl_standard_builder: Have it generate FooConfig::builder</title>
<updated>2022-05-12T17:50:26Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-12T17:15:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=be5bc04c02d5023c46a117a048bf0a659094f4eb'/>
<id>urn:sha1:be5bc04c02d5023c46a117a048bf0a659094f4eb</id>
<content type='text'>
This deletes many handcoded impls.  It also generates lots of impls
that we previously didn't have.
</content>
</entry>
<entry>
<title>Rename impl_standard_builder from impl_default_via_builder</title>
<updated>2022-05-12T14:59:13Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-12T14:58:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c1c6f2b376827c4ebb13bc08456f8355717d15e5'/>
<id>urn:sha1:c1c6f2b376827c4ebb13bc08456f8355717d15e5</id>
<content type='text'>
I have Plans for this macro.  In particular:

 * I have a wip branch which tests that the Builder can be
   deserialised from an empty config (ie, that config reading
   of a config with a blank section for this item works).

 * I think we should autogenerate $Config::builder(),
   and promote that, rather than $ConfigBuilder::default().
   This macro could do that.
</content>
</entry>
</feed>
