← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1544437] [NEW] messages in glance-manage purge are not formatted properly

 

Public bug reported:

Info messages in glance-manage purge method are not formatting properly
as it shows variable names in the message and not the corresponding
values.

For example:

$ glance-manage db purge 1

2016-02-08 04:22:20.373 INFO glance.db.sqlalchemy.api [req-1bcebb2f-
bc3a-468d-b4c5-5701ea2cfa19 None None] Deleted %(rows)d row(s) from
table %(tbl)s

2016-02-08 04:22:20.374 INFO glance.db.sqlalchemy.api [req-1bcebb2f-
bc3a-468d-b4c5-5701ea2cfa19 None None] Purging deleted rows older than
%(age_in_days)d day(s) from table %(tbl)s

** Affects: glance
     Importance: Undecided
         Status: New

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

Title:
  messages in glance-manage purge are not formatted properly

Status in Glance:
  New

Bug description:
  Info messages in glance-manage purge method are not formatting
  properly as it shows variable names in the message and not the
  corresponding values.

  For example:

  $ glance-manage db purge 1

  2016-02-08 04:22:20.373 INFO glance.db.sqlalchemy.api [req-1bcebb2f-
  bc3a-468d-b4c5-5701ea2cfa19 None None] Deleted %(rows)d row(s) from
  table %(tbl)s

  2016-02-08 04:22:20.374 INFO glance.db.sqlalchemy.api [req-1bcebb2f-
  bc3a-468d-b4c5-5701ea2cfa19 None None] Purging deleted rows older than
  %(age_in_days)d day(s) from table %(tbl)s

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


Follow ups