*limited the error log size to 1mb