Project

General

Profile

Actions

Bug #13993

closed

Use of syslog results in all log messages at priority "emerg"

Added by Brad Hubbard over 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
common
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
infernalis,hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In src/log/Log.cc we call syslog like so;

syslog(LOG_USER, "%s%s", buf, s.c_str());
syslog(LOG_USER, "%s", s);

Calling syslog with LOG_USER alone implies LOG_USER|LOG_EMERG and causes the messages to be logged at emergency priority.


Related issues 3 (0 open3 closed)

Related to Ceph - Bug #15808: Assign LOG_INFO priority to syslog callsResolvedBrad Hubbard05/10/2016

Actions
Copied to Ceph - Backport #14137: infernalis: Use of syslog results in all log messages at priority "emerg"ResolvedBrad HubbardActions
Copied to Ceph - Backport #14138: hammer: Use of syslog results in all log messages at priority "emerg"ResolvedBrad HubbardActions
Actions #1

Updated by Kefu Chai over 8 years ago

  • Assignee set to Brad Hubbard
Actions #2

Updated by Kefu Chai over 8 years ago

  • Status changed from New to Fix Under Review
  • Source changed from other to Development
Actions #3

Updated by Sage Weil over 8 years ago

  • Backport set to infernalis,hammer
Actions #5

Updated by Sage Weil over 8 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #6

Updated by Brad Hubbard over 8 years ago

  • Copied to Backport #14137: infernalis: Use of syslog results in all log messages at priority "emerg" added
Actions #7

Updated by Brad Hubbard over 8 years ago

  • Copied to Backport #14138: hammer: Use of syslog results in all log messages at priority "emerg" added
Actions #8

Updated by Brad Hubbard about 8 years ago

  • Status changed from Pending Backport to Resolved
Actions #9

Updated by Brad Hubbard almost 8 years ago

  • Related to Bug #15808: Assign LOG_INFO priority to syslog calls added
Actions

Also available in: Atom PDF