log handling for server console and pending search int for start number in substring for cursor