Bug 1001139 - Abrt uses wrong log priority for some messages.
Summary: Abrt uses wrong log priority for some messages.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Marko
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-26 14:41 UTC by Lukáš Nykrýn
Modified: 2016-02-01 02:23 UTC (History)
10 users (show)

Fixed In Version: gnome-abrt-0.3.3-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-01 03:53:56 UTC
Type: Bug


Attachments (Terms of Use)
journalctl output (2.87 KB, text/plain)
2013-08-26 14:57 UTC, Lukáš Nykrýn
no flags Details

Description Lukáš Nykrýn 2013-08-26 14:41:44 UTC
Description of problem:
Abrt uses wrong priority levels for some messages.

Version-Release number of selected component (if applicable):
abrt-2.1.6-3.fc19

How reproducible:
always

Steps to Reproduce:
journalctl -b -u abrtd.service -p err

Actual results:
See attached output.

Expected results:
Log messages like "Init complete, entering main loop" should not appear, when user wants to display only error and worse messages.

Comment 1 Lukáš Nykrýn 2013-08-26 14:57:07 UTC
Created attachment 790559 [details]
journalctl output

Comment 2 Jiri Moskovcak 2013-08-27 06:28:44 UTC
Yes, all our log messages are written to syslog as ERR:

 syslog(LOG_ERR, "%s", msg + prefix_len);

which we shouldn't.

Comment 3 Richard Marko 2013-10-27 19:29:39 UTC
commit b50a5f7a27d5f6afe893d946b4a3278161c1fc84
Author: Richard Marko <rmarko>
Date:   Tue Oct 15 12:37:54 2013 +0200

    Use log_ family instead of VERBn log calls
    
    Related to rhbz#1001139
    
    Signed-off-by: Richard Marko <rmarko>

Comment 4 Fedora Update System 2013-10-29 04:58:10 UTC
gnome-abrt-0.3.3-1.fc19,abrt-2.1.9-1.fc19,libreport-2.1.9-1.fc19,satyr-0.11-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/gnome-abrt-0.3.3-1.fc19,abrt-2.1.9-1.fc19,libreport-2.1.9-1.fc19,satyr-0.11-1.fc19

Comment 5 Fedora Update System 2013-10-30 01:51:30 UTC
Package gnome-abrt-0.3.3-1.fc19, abrt-2.1.9-1.fc19, libreport-2.1.9-1.fc19, satyr-0.11-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-abrt-0.3.3-1.fc19 abrt-2.1.9-1.fc19 libreport-2.1.9-1.fc19 satyr-0.11-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-20261/gnome-abrt-0.3.3-1.fc19,abrt-2.1.9-1.fc19,libreport-2.1.9-1.fc19,satyr-0.11-1.fc19
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-11-01 03:53:56 UTC
gnome-abrt-0.3.3-1.fc19, abrt-2.1.9-1.fc19, libreport-2.1.9-1.fc19, satyr-0.11-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.