<p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/22801">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/22801/1/src/pcu_vty.c">File src/pcu_vty.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/22801/1/src/pcu_vty.c@746">Patch Set #1, Line 746:</a> <code style="font-family:monospace,monospace">             the_pcu->vty.force_alpha = atoi(argv[0]);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">The problem is that these warnings are being printed in the beginning of the log without a prefix with category and logging level. And if you manage the services using systemd, it's unlikely that you check journald every time after updating the packages. If only we had some permanent buffer, from where one could retrieve all the warnings e.g. via the VTY ('show vty-depr-warnings' or so)...</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">... instead of explaining him how can he still be using this.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">I am not asking you to explain how to use deprecated parameters. I am asking to warn the user about consequences of not using the new ones. It's not obvious what takes preference without looking into the code. And it's actually quite often that I see deprecated parameters in use, even in our testing infrastructure (docker-playground).</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/22801">change 22801</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-pcu/+/22801"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I46f2a955b157a409055fca7fb917dc4f75482426 </div>
<div style="display:none"> Gerrit-Change-Number: 22801 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-CC: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 18 Feb 2021 18:36:29 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Comment-In-Reply-To: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>