<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/library/cpp/yt/logging, branch CLI_2.20.0</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=CLI_2.20.0</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=CLI_2.20.0'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2025-02-22T14:48:29Z</updated>
<entry>
<title>YT-22593: More trivial TString-&gt;std::string migrations</title>
<updated>2025-02-22T14:48:29Z</updated>
<author>
<name>babenko</name>
<email>babenko@yandex-team.com</email>
</author>
<published>2025-02-22T14:28:25Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=59afaa0cb7cd89146dd10f5446256afcce33bd0e'/>
<id>urn:sha1:59afaa0cb7cd89146dd10f5446256afcce33bd0e</id>
<content type='text'>
[nodiff:runtime]
commit_hash:1ba799aed1703ab7c6304b6da7090b3337f768dd
</content>
</entry>
<entry>
<title>Switch to std::string for logging tags</title>
<updated>2025-01-19T10:37:57Z</updated>
<author>
<name>babenko</name>
<email>babenko@yandex-team.com</email>
</author>
<published>2025-01-19T10:22:02Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=96874a96dab68de59f4cdf92626eb09d9629149b'/>
<id>urn:sha1:96874a96dab68de59f4cdf92626eb09d9629149b</id>
<content type='text'>
[nodiff:caesar]
commit_hash:62fa96ca05b1a4018e2e51e6b589483cd3a44fc4
</content>
</entry>
<entry>
<title>Fixed bug in logging</title>
<updated>2024-12-24T21:40:58Z</updated>
<author>
<name>sabdenovch</name>
<email>sabdenovch@yandex-team.com</email>
</author>
<published>2024-12-24T21:18:49Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=75f1af270a6cf9a17b65fde6d12efbb94f235960'/>
<id>urn:sha1:75f1af270a6cf9a17b65fde6d12efbb94f235960</id>
<content type='text'>
commit_hash:a31e79330e3ec72361743d932a47fc67f92fb7a0
</content>
</entry>
<entry>
<title>Intermediate changes</title>
<updated>2024-11-29T15:40:16Z</updated>
<author>
<name>robot-piglet</name>
<email>robot-piglet@yandex-team.com</email>
</author>
<published>2024-11-29T15:15:29Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=2aee7cda6c758679145563340ff94fc652670ea1'/>
<id>urn:sha1:2aee7cda6c758679145563340ff94fc652670ea1</id>
<content type='text'>
commit_hash:60e005cdf76d5bff2a370a6b8f35ef4f6792f414
</content>
</entry>
<entry>
<title>Fix regression: static anchors are not updated properly</title>
<updated>2024-10-30T12:52:26Z</updated>
<author>
<name>babenko</name>
<email>babenko@yandex-team.com</email>
</author>
<published>2024-10-30T11:45:00Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7891efa0c4d0a1bbf82be8885a53017e06f2adf5'/>
<id>urn:sha1:7891efa0c4d0a1bbf82be8885a53017e06f2adf5</id>
<content type='text'>
commit_hash:ab0bd9b2d0569820e495c714baecb05145ed35bf
</content>
</entry>
<entry>
<title>Introduce message_level_overrides to tune log message levels at runtime</title>
<updated>2024-10-20T14:19:01Z</updated>
<author>
<name>babenko</name>
<email>babenko@yandex-team.com</email>
</author>
<published>2024-10-20T14:04:47Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=e36aa48cf1a20abbfa2a921748f3f1a32b7000be'/>
<id>urn:sha1:e36aa48cf1a20abbfa2a921748f3f1a32b7000be</id>
<content type='text'>
* Changelog entry
Type: feature

Add message_level_overrides option to logging config for better run-time tuning.
commit_hash:07e9563fd111c437edf7ac0e5dd190781878d8fa
</content>
</entry>
<entry>
<title>Fancier error messages upon static analysis check failure</title>
<updated>2024-10-16T08:12:35Z</updated>
<author>
<name>arkady-e1ppa</name>
<email>arkady-e1ppa@yandex-team.com</email>
</author>
<published>2024-10-16T07:57:50Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=06315bfc9a9c00a74cf70cd35d65c959bd036f7c'/>
<id>urn:sha1:06315bfc9a9c00a74cf70cd35d65c959bd036f7c</id>
<content type='text'>
commit_hash:f939fba86939275047d2eca49b11bec3d0ea3ce7
</content>
</entry>
<entry>
<title>YT-22512: Static analysis for TError method, ctors and related macros</title>
<updated>2024-08-13T19:42:11Z</updated>
<author>
<name>arkady-e1ppa</name>
<email>arkady-e1ppa@yandex-team.com</email>
</author>
<published>2024-08-13T19:30:08Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=a22375f74c2d4696846adf89626ca853b08cc782'/>
<id>urn:sha1:a22375f74c2d4696846adf89626ca853b08cc782</id>
<content type='text'>
Static analysis enabled for TError creation and related macros

TRuntimeFormat can be used to disable this feature, but requires copying the viewed object.
See NYT::TError::DisableFormat overloads to optimize constructions which want to move the given string

Note to future readers: TError is not "perfect-forwarding" unfriendly class. This means that the code
```
template &lt;class... TArgs&gt;
TError MakeError(TArgs&amp;&amp;... args) {
  return TError(std::forward&lt;TArgs&gt;(args)...);
}
```
will not compile and needs to be properly adjusted (see. TError::Wrap for implementation example)

This implies that emplace construction in containers will not work either. Use move construction instead, as it is simply a pointer swap and therefore free

Annotations: [nodiff:caesar]
cff12f05849402d09a4487bad26ffcd968215dc7
</content>
</entry>
<entry>
<title>YT-21868: Fix missing anchor for single messages in YT_LOG_XXX macros</title>
<updated>2024-06-14T05:19:38Z</updated>
<author>
<name>arkady-e1ppa</name>
<email>arkady-e1ppa@yandex-team.com</email>
</author>
<published>2024-06-14T05:07:11Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=f89ac54b9ed5e1902b662ef1373da3d521a9f126'/>
<id>urn:sha1:f89ac54b9ed5e1902b662ef1373da3d521a9f126</id>
<content type='text'>
438bc5ed4e35d7a3aeffcce25e862d21289d4cad
</content>
</entry>
<entry>
<title>YT-21868: Enable stat analysis in some other places</title>
<updated>2024-06-13T14:13:41Z</updated>
<author>
<name>arkady-e1ppa</name>
<email>arkady-e1ppa@yandex-team.com</email>
</author>
<published>2024-06-13T13:50:14Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=3a8a5fac5ba669fa5bed1ccd92e75bdfc6d30d21'/>
<id>urn:sha1:3a8a5fac5ba669fa5bed1ccd92e75bdfc6d30d21</id>
<content type='text'>
We slightly rework inner workings of stat analysis. For almost any sane use case the behavior is identical, but should compile a little faster.

If you send string literals like `char[N]` or `const char*` make them constexpr. If you can't (e.g. `ex.what()` case) wrap it in `TStringBuf`, if you want the "by the book; 100% right" solution then wrap it in `TRuntimeFormat` instead.

`SetRequestInfo` methods now statically checks the format. Only one error was found -- hooray!

Some other internal stuff was added, a lot removed -- don't worry about it. You won't be able to see the difference
62050dfe8a9cedc1289f18e80397ff33a8e2ecdb
</content>
</entry>
</feed>
