logs..... in common.php