org.hackystat.utilities.logger
Class RestletLoggerUtil

java.lang.Object
  extended by org.hackystat.utilities.logger.RestletLoggerUtil

public final class RestletLoggerUtil
extends java.lang.Object

Provides a convenience method for Restlet logging that adjusts the output Handlers.

Author:
Philip Johnson

Method Summary
static void disableLogging()
          Disables all Restlet-based loggers unless the property dont.disable.restlet.loggers has the value "true".
static void useFileHandler(java.lang.String serviceDir)
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

useFileHandler

@Deprecated
public static void useFileHandler(java.lang.String serviceDir)
Deprecated. 

Adjusts the Restlet Loggers so that they send their output to a file, not the console. Deprecated because this leads to a zillion lock errors.

Parameters:
serviceDir - The directory within .hackystat that this data will be sent to.

disableLogging

public static void disableLogging()
Disables all Restlet-based loggers unless the property dont.disable.restlet.loggers has the value "true".