Log processing method and client

  • US 10,142,170 B2
  • Filed: 09/23/2014
  • Issued: 11/27/2018
  • Est. Priority Date: 11/29/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for improving log level control of a system including a server and a plurality of users, comprising:

  • acquiring a log processing instruction, the log processing instruction including a user'"'"'s identifier and an on or off instruction, wherein the user is among the plurality of users that establish connections with the server;

    controlling an operating state of a log record switch of the user corresponding to the user'"'"'s identifier according to the log processing instruction, the operating state of the log record switch including an on state and an off state, wherein the controlling an operating state of a log record switch of the user corresponding to the user'"'"'s identifier according to the log processing instruction further comprises;

    controlling the operating state of the log record switch of the user to be the on state when the log processing instruction is the on instruction, andcontrolling the operating state of the log record switch of the user to be the off state when the log processing instruction is the off instruction;

    when the operating state of the log record switch of the user is the on state, recording a log of the user based on a corresponding log level of the user, wherein the corresponding log level of the user is predetermined among a plurality of log levels, more detailed information is recorded for the log of the user when the corresponding log level is a higher log level, the corresponding log level of the user is equal to or lower than a log level of the server, the corresponding log level of the user is stored in the server;

    when the operating state of the log record switch of the user is the off state, not recording a log of the user;

    wherein the method further comprises;

    establishing a session layer between the server and each of the plurality of users; and

    controlling a session state of the session layer by a corresponding log record switch.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×