<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/src/logging.rs, branch tor-dirmgr-v0.5.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-dirmgr-v0.5.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-dirmgr-v0.5.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-06-16T14:42:06Z</updated>
<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>
<entry>
<title>config: Replace more handwritten impl Default</title>
<updated>2022-05-12T14:59:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-12T14:35:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=888d6e0511d01379d42ae154ac99ce2d9e84fd44'/>
<id>urn:sha1:888d6e0511d01379d42ae154ac99ce2d9e84fd44</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Disable safe-logging when logging to console.</title>
<updated>2022-05-06T11:38:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-04T13:21:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b879125668db7416ba527793fe56e4a50a00436a'/>
<id>urn:sha1:b879125668db7416ba527793fe56e4a50a00436a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: add support for safe-logging configuration</title>
<updated>2022-05-06T11:38:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-04T13:13:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7e34692a65c02dbcf2bb1cd330ab9665a017d52e'/>
<id>urn:sha1:7e34692a65c02dbcf2bb1cd330ab9665a017d52e</id>
<content type='text'>
Here we add a config option to disable safe logging, and ensure that
safe logging is disabled when we are formatting an error message on
exit (since we assume it's safe to write sensitive info to stderr.)
</content>
</entry>
</feed>
