Changeset 247 for binary-improvements/MapRendering
- Timestamp:
- Jul 26, 2015, 5:15:45 PM (9 years ago)
- Location:
- binary-improvements/MapRendering/Web
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/Handlers/ApiHandler.cs
r244 r247 31 31 resp.StatusCode = (int)HttpStatusCode.Forbidden; 32 32 if (user != null) { 33 Log.Out ("ApiHandler: user '{0}' not allowed to execute '{1}'", user.SteamID, apiName);33 //Log.Out ("ApiHandler: user '{0}' not allowed to execute '{1}'", user.SteamID, apiName); 34 34 } else { 35 Log.Out ("ApiHandler: unidentified user from '{0}' not allowed to execute '{1}'", req.RemoteEndPoint.Address, apiName);35 //Log.Out ("ApiHandler: unidentified user from '{0}' not allowed to execute '{1}'", req.RemoteEndPoint.Address, apiName); 36 36 } 37 37 return; -
binary-improvements/MapRendering/Web/Web.cs
r244 r247 164 164 response.StatusCode = (int)HttpStatusCode.Forbidden; 165 165 if (conn != null) { 166 Log.Out ("Web.HandleRequest: user '{0}' not allowed to access '{1}'", conn.SteamID, kvp.Value.ModuleName);166 //Log.Out ("Web.HandleRequest: user '{0}' not allowed to access '{1}'", conn.SteamID, kvp.Value.ModuleName); 167 167 } else { 168 Log.Out ("Web.HandleRequest: unidentified user from '{0}' not allowed to access '{1}'", request.RemoteEndPoint.Address, kvp.Value.ModuleName);168 //Log.Out ("Web.HandleRequest: unidentified user from '{0}' not allowed to access '{1}'", request.RemoteEndPoint.Address, kvp.Value.ModuleName); 169 169 } 170 170 } else {
Note:
See TracChangeset
for help on using the changeset viewer.