added line numbers to generic log formatter

This is literally the most interesting "default" information in logs and we change it for every project again and again, in our case, at least. It would be amazing if this could go upstream.