* more fixes related to logging.
* fix erasing collection/diskno. only works by setting them to 0 due to a bug in the interface.