Log drive state updates
Problem to solve
At the moment we are not logging any drive state changes.
This makes it very difficult to debug issues related to drive state changes. For example, it makes it difficult to know what changes were made to the DRIVE_STATE
table in the CTA Catalogue.
One example can be seen here:
In general, not having this info also makes it impossible to know the full history of any drive state changes.
Stakeholders
Anyone debugging a drive state related issue (CTA devs and ops). Anyone looking for the drive state history.
Proposal
Add an INFO
log line to the TapeDrivesCatalogueState::updateDriveStatus(..)
function, including the new status and all the driveState
changes requested to the CTA Catalogue.