| |
@@ -313,7 +313,8 @@
|
| |
if build_ready(task.build)]
|
| |
)
|
| |
|
| |
- log.info('Selected build records: {}'.format(build_records))
|
| |
+ log.info('Number of selected build records: %s', len(build_records))
|
| |
+ log.debug('Selected build records: %s', build_records)
|
| |
return flask.jsonify(build_records)
|
| |
|
| |
|
| |
Today we almost ran out of disk space on copr-frontend because we are
mass-rebuilding rubygems, and periodically logging all pending builds
resulted in 20G
copr-frontend.log
.I think we can simply log the number of pending builds instead of
their whole records. That might be useful for debugging though, so I
am keeping the original command but switching it from
log.info
tolog.debug
.