Bug 1596349
| Summary: | reduce canceljobjob logging | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Mike McCune <mmccune> |
| Component: | Candlepin | Assignee: | Barnaby Court <bcourt> |
| Status: | CLOSED ERRATA | QA Contact: | Ondrej Gajdusek <ogajduse> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3.1 | CC: | bcourt, cduryee, khowell, mmccune, ogajduse, schlupov |
| Target Milestone: | 6.4.0 | Keywords: | FieldEngineering, PrioBumpField, Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | candlepin-2.4.0-1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1563225 | Environment: | |
| Last Closed: | 2018-10-16 19:01:39 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1563367, 1566217 | ||
| Bug Blocks: | |||
|
Comment 6
Ondrej Gajdusek
2018-08-30 11:27:01 UTC
In comment 3, setting log4j.logger.org.candlepin=DEBUG & restarting tomcat will enable debug logging. The "Deleting # cancelled jobs from scheduler" and the "Finished deleting jobs from scheduler" message is logged at the INFO level. After increasing the log level I can see the following: $ tail -f /var/log/candlepin/candlepin.log | grep -i -e jobjob -e jobs 2018-09-13 04:29:15,014 [thread=QuartzScheduler_Worker-12] [job=CancelJobJob-f828108d-c6e0-42b6-962b-d0cf2a4eccf7, org=, csid=] DEBUG org.candlepin.audit.EventSinkImpl - Committing ActiveMQ transaction. 2018-09-13 04:29:20,008 [thread=QuartzScheduler_Worker-13] [job=CancelJobJob-f828108d-c6e0-42b6-962b-d0cf2a4eccf7, org=, csid=] DEBUG org.candlepin.audit.EventSinkImpl - Committing ActiveMQ transaction. 2018-09-13 04:29:25,014 [thread=QuartzScheduler_Worker-1] [job=CancelJobJob-f828108d-c6e0-42b6-962b-d0cf2a4eccf7, org=, csid=] DEBUG org.candlepin.audit.EventSinkImpl - Committing ActiveMQ transaction. 2018-09-13 04:29:30,011 [thread=QuartzScheduler_Worker-3] [job=CancelJobJob-f828108d-c6e0-42b6-962b-d0cf2a4eccf7, org=, csid=] DEBUG org.candlepin.audit.EventSinkImpl - Committing ActiveMQ transaction. 2018-09-13 04:29:35,021 [thread=QuartzScheduler_Worker-5] [job=CancelJobJob-f828108d-c6e0-42b6-962b-d0cf2a4eccf7, org=, csid=] DEBUG org.candlepin.audit.EventSinkImpl - Committing ActiveMQ transaction. 2018-09-13 04:29:40,009 [thread=QuartzScheduler_Worker-6] [job=CancelJobJob-f828108d-c6e0-42b6-962b-d0cf2a4eccf7, org=, csid=] DEBUG org.candlepin.audit.EventSinkImpl - Committing ActiveMQ transaction. These messages are not logged without increasing the log level. Verified with Satellite 6.4.0 Snap 21.0. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2927 |