Patent ID: 8752017

Claim:
A method for selective session and user routing for debugging in multi-tenant cloud computing infrastructure in a database system, the method comprising: receiving at proxy server machine a request, the proxy machine including a processor system including one or more processors and a memory storing machine instructions for the proxy server machine, the proxy server machine being associated with a cluster of machines; determining, by the processor system, whether the request is a debugging request; if the request is a debugging request, determining if the debugging request is safe, the determining of whether the request includes the debugging request is safe, includes at least determining a debug level that is permitted to the request, the debug level being an extent to which a debug statement is granted permission to change code and determining whether there are any debug statements in the request that require a debug level that is not permitted to the request; if the debugging request is determined to be safe, processing the debugging request at a debug server; and if it is determined that the request includes a debug statement that is not safe, blocking at least the debug statements that are determined to be unsafe; and if the request is not a debugging request, determining which machine from a cluster of machines associated with the proxy server to send the request.