log the key regex for debugging