Update system/core/Log.php

Added ltrim() as requested to strip '.' incase it's added by mistake.