← Back to team overview

maria-discuss team mailing list archive

Re: why stdout? -> [Note] /usr/libexec/mysqld (mysqld 10.0.20-MariaDB) starting as process 115096

 


Am 06.08.15 um 17:26 schrieb Reindl Harald:
> Am 06.08.2015 um 17:23 schrieb Sergei Golubchik:
>> Hi, Reindl!
>>
>> On Aug 06, Reindl Harald wrote:
>>> Am 06.08.2015 um 14:25 schrieb Sergei Golubchik:
>>>> On Aug 06, Reindl Harald wrote:
>>>>> Am 06.08.2015 um 13:56 schrieb Sergei Golubchik:
>>>>>> On Aug 06, Reindl Harald wrote:
>>>>>>> Aug  6 12:24:24 testserver mysqld: 150806 12:24:24 [Note]
>>>>>>> /usr/libexec/mysqld (mysqld 10.0.20-MariaDB) starting as process
>>>>>>> 115096 ...
>>>>>>>
>>> the point is that echo something to stdout/stderr in case of a
>>> background service burries the lines and the only reason they appear
>>> at all is journald collecting that stuff and forwards it to syslog
>>>
>>> they should go to "log-error" as all other messages
>>
>> Ah, okay. You're right, this line is sent to stderr before stderr is
>> redirected to log-error. I suppose it's a bug
> 
> thanks for confirmation


that was introduced with 10.0.19 or 10.0.20 five years ago and is still
unchanged - are you kidding me?

Jul  4 22:31:06 backup-prometheus systemd[1]: Starting MariaDB
Replication...
Jul  4 22:31:06 backup-prometheus mysqld[4107]: 2020-07-04 22:31:06 0
[Note] /usr/libexec/mysqld (mysqld 10.3.23-MariaDB) starting as process
4107 ...
Jul  4 22:31:06 backup-prometheus systemd[1]: Started MariaDB Replication.


References