Class RemoteLoggingServiceImpl

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
All Implemented Interfaces:
RemoteLoggingService, RemoteService, SerializationPolicyProvider, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RemoteLoggingServiceImpl extends RemoteServiceServlet implements RemoteLoggingService
Server-side code for the remote log handler.
See Also:
  • Constructor Details

    • RemoteLoggingServiceImpl

      public RemoteLoggingServiceImpl()
  • Method Details

    • logOnServer

      public final String logOnServer(LogRecord lr)
      Logs a Log Record which has been serialized using GWT RPC on the server.
      Specified by:
      logOnServer in interface RemoteLoggingService
      Returns:
      either an error message, or null if logging is successful.
    • setLoggerNameOverride

      public void setLoggerNameOverride(String override)
      By default, messages are logged to a logger that has the same name as the logger that created them on the client. If you want to log all messages from the client to a logger with another name, you can set the override using this method.
    • setSymbolMapsDirectory

      public void setSymbolMapsDirectory(String symbolMapsDir)
      By default, this service does not do any deobfuscation. In order to do server-side deobfuscation, you must copy the symbolMaps files to a directory visible to the server and set the directory using this method.