remove useless log message

When we calculate statistic data from database, we print a debug
level log which says something like:

computed value coming from u'(<ceilometer.storage.impl_mongodb.Connection
object at 0x12345678>,)'

This message only indicates which type of database we are using,
nothing more. However the database type is specified by config file,
so this log is actually redundant.

Change-Id: Ia52f2d5f74509999097151e6906b4233214d74eb
Closes-Bug: #1459911
This commit is contained in:
ZhiQiang Fan 2015-05-29 14:27:46 +08:00
parent e71e391a4f
commit 0d135b28d4

View File

@ -403,9 +403,6 @@ class MeterController(rest.RestController):
try: try:
computed = pecan.request.storage_conn.get_meter_statistics( computed = pecan.request.storage_conn.get_meter_statistics(
f, period, g, aggregate) f, period, g, aggregate)
LOG.debug(_('computed value coming from %r'),
pecan.request.storage_conn)
return [Statistics(start_timestamp=start, return [Statistics(start_timestamp=start,
end_timestamp=end, end_timestamp=end,
**c.as_dict()) **c.as_dict())