← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1385266] Re: Too many 'Enforcing rule' logged on the gate

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => kilo-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1385266

Title:
  Too many 'Enforcing rule' logged on the gate

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  After #1356679 the debug logging became too verbose.
  Logging the policy rule checking is useful when you are editing the policy.json, but for general usage it is too verbose.

  http://logs.openstack.org/53/130753/1/check/check-tempest-dsvm-
  neutron-full/4ad9772/logs/screen-q-svc.txt.gz#_2014-10-24_11_44_41_049

  $ wget http://logs.openstack.org/53/130753/1/check/check-tempest-dsvm-neutron-full/4ad9772/logs/screen-q-svc.txt.gz
  $ wc -l screen-q-svc.txt.gz
  94283 screen-q-svc.txt.gz
  $ grep 'Enforcing rule' screen-q-svc.txt.gz | wc -l
  25320

  26.85% of log lines contains the 'Enforcing rule'.

  These  'Enforcing rule' log messages should be disabled by default
  (even with debug=True).

  Note:
  Maybe 'default_log_levels'  can be used for make it less verbose by default.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1385266/+subscriptions


References