How to fix log forging in C#
问题 I am using Log4net for logging into my web api application. I am using below code to log warnings and error in database. public async Task<int> ExecuteNonQuery(string procedureName,params SqlParameter[] parameters) { try { this.logger.DebugFormat("{0} stating call",procedureName); ...... ...... ...... } further code When i ran fortify scan it gives me log forging issue. Is there any idea how we can resolve this issue. I tried below code but didn't work procedureName = Regex.Replace