Improved logging and threshold features for uA2.php