On 2023-03-11 09:40, Per Jessen wrote:
Carlos E. R. wrote:
On 2023-03-10 21:59, Dave Howorth wrote:
On Fri, 10 Mar 2023 20:49:45 +0100 "Carlos E. R." <> wrote:
On 2023-03-10 17:01, Per Jessen wrote:
Carlos E. R. wrote:
And anyway, probing messagges are noise by definition, unless there is a "I can not probe at all", and this can be told to the user in the same dialog where I ask to open the scanner or probe for it. The messages about the progress of the probing are not to go into the warning log. [snip] The syslog definition is correct, the problem is the programs defining their debug messages as warnings.
I'm with Per here. There's no way a developer will see any messages on your systems, so either the messages are wrongly classified or configured in the application or they aren't debugging messages.
That's exactly what I am saying!
I think you might want to reread what you've been saying :-)
Carlos: /var/log/warn is full of debugging messages
Per/Dave: nothing in /var/log/warn will ever reach any developer, hence they are not debugging messages.
Exactly, So they should not be logged.
My normal action when I see a warning message is dispatch a bug,
Why on earth would you do that?
To remedy the situation, so that the programmer or packager knows about the error.
Here are some warnings from one of our (openSUSE) mailservers:
2023-03-05T00:07:33.089097+00:00 anna postfix/qmgr[17957]: warning: mail for jessen.ch is using up 5838 of 20000 active queue entries
This is not the kind of log entries I complain about. This is a true and proper warning.
2023-03-11T08:23:34.455243+00:00 anna postfix/smtp[31360]: warning: TLS library problem: error:14094417:SSL routines:ssl3_read_bytes:sslv3 alert illegal parameter:ssl/record/rec_layer_s3.c:1544:SSL alert number 47:
This one you should report. Seems a programming error.
2023-03-11T06:14:37.193691+00:00 anna postfix/smtp[8502]: warning: numeric domain name in resource data of MX record for jessen.ch:
This is a proper warning.
2023-03-11T02:17:55.283468+00:00 anna postfix/smtp[31379]: warning: no MX host for jessen.ch has a valid address record
This is a proper warning.
2023-03-11T01:29:42.339317+00:00 anna postfix/cleanup[23707]: warning: 5255D24040: message rejected: hopcount exceeded
This is a proper warning.
Those are for the _admin_, they are _warnings_ that something didn't work as expected. Any experienced admin will look at the above and disregard, a less experienced admin might start investigating.
If - and only _if_ - there is a suspected and reproducable problem with postfix, would anyone write a bugreport.
I don't know about your MUA but in mine (Claws) if I have a problem sending a message I go to the menus: Tools/Network Log and have a look at exactly what was sent over the wire. If necessary i restart the program from the command-line and increase logging further. No need to go to any system logs and no problem if they're missing.
Well, there is a difference: my MUAs hand over the email to postfix for sending. This was a necessity long ago, because I used Alpine as MUA. Now it is a preference.
What has that got to do with mail.{info,err,notice} ?
I needed to know what was going on with the mail I produced, see the possible problems and act on them. Ie, check the logs, either as routine, or in retrospect. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)