Timestamp and level is duplicated in Neutron logs at master node

Bug #1414701 reported by Ilya Shakhat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Won't Fix
Medium
Ilya Shakhat

Bug Description

Line from log file on compute node:
2015-01-26 11:43:12.816 22627 INFO neutron.common.config [-] Logging enabled!
Line from log file at master node:
2015-01-26T11:43:12.817648+00:00 info: 11:43:12.816 22627 INFO neutron.common.config [-] Logging enabled!

Timestamp and level are duplicated. Other services (e.g. nova) do not have such behavior

Tags: neutron
Revision history for this message
Ilya Shakhat (shakhat) wrote :

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  api: "1.0"
  build_number: "78"
  build_id: "2015-01-25_22-55-01"
  nailgun_sha: "e75ac13a46d6c40fe7c90af51c053c0e0a818808"
  astute_sha: "48829a27b8041c36b14e34cc2ae760c8f57703a9"
  fuellib_sha: "4c61bf87a96453a750df3e81606ba9fe21c2059f"
  ostf_sha: "95054878eff472eb6a0d9d185ce65e3105dde632"
  fuelmain_sha: ""

tags: added: neutron
Changed in mos:
importance: Undecided → Medium
milestone: none → 6.1
assignee: nobody → Ilya Shakhat (shakhat)
Revision history for this message
Ilya Shakhat (shakhat) wrote :

The issue is caused by old version of openstack/common/log. The fix is in _setup_logging_from_conf - need to move use_syslog section to the end of function, so the logger will use formatter from SysLogHandler rather than ContextFormatter.

Changed in mos:
status: New → Confirmed
Revision history for this message
Ilya Shakhat (shakhat) wrote :

In 6.1 Neutron uses old incubated version of oslo.log. Kilo release Neutron starts using library version of oslo.log where this issue doesn't exist. Since the issue is not of high importance it is proposed not to fix it in 6.1

Changed in mos:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.