[MDEV-9054] Logged InnoDB Notes have Syslog Priority 3 (Error) Created: 2015-11-01 Updated: 2022-09-12 Resolved: 2022-09-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.0.22 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Michael Herold | Assignee: | Sergei Golubchik |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | logging | ||
| Environment: |
Debian Jessie |
||
| Description |
|
Only observed on startup. Messages seem irrelevant but have priority error. Extract:
|
| Comments |
| Comment by Elena Stepanova [ 2015-11-02 ] | ||||||||||||||||||
|
It's not just these 4 lines, and not just InnoDB, but apparently the whole MySQL/MariaDB error log. "3 err" below are "syslogseverity syslogseverity-text".
I would assume that's just because it's the error log, so whatever goes there is considered the error level for syslog; but I cannot judge whether it's acceptable or not conceptually. | ||||||||||||||||||
| Comment by Otto Kekäläinen [ 2015-11-02 ] | ||||||||||||||||||
|
I don't know what to advice. To syslog you can log whatever you want. Currently at least on Debian mysqld logs quite a lot to syslog and that should be OK. The file /etc/init.d/mysql defines: and later on when mysql starts: The logger priority daemon.err seems to be used then for all error messages. With this structure there is not directly any mechanism built in to vary the log message priority level. If this is changes, then at least please focus on writing a good systemd file so that the systemd facilities would get messages with varying severity level. There is also a separate /var/log/mysql/error.log which is mostly empty and that indeed gets contents only if there are errors. Current status for that seems OK to me too. | ||||||||||||||||||
| Comment by Sergei Golubchik [ 2022-09-12 ] | ||||||||||||||||||
|
10.0 was EOLed in March 2019 |