Logging

Added some logging to the sub-only check