Fixed indentation and simplified logging stats