org.apache.sling.engine.impl.log
Class RequestLogger

java.lang.Object
  extended by org.apache.sling.engine.impl.log.RequestLogger

@Properties(value={@Property(name="service.description",value="Request Logger"),@Property(name="service.vendor",value="The Apache Software Foundation")})
public class RequestLogger
extends Object

The RequestLogger just registers RequestLoggerService instance on behalf of the provided configuration.


Field Summary
static String PROP_ACCESS_LOG_ENABLED
           
static String PROP_ACCESS_LOG_OUTPUT
           
static String PROP_ACCESS_LOG_OUTPUT_TYPE
           
static String PROP_REQUEST_LOG_ENABLED
           
static String PROP_REQUEST_LOG_OUTPUT
           
static String PROP_REQUEST_LOG_OUTPUT_TYPE
           
 
Constructor Summary
RequestLogger()
           
 
Method Summary
protected  void activate(org.osgi.framework.BundleContext bundleContext, Map<String,Object> props)
           
protected  void deactivate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_REQUEST_LOG_OUTPUT

@Property(value="logs/request.log")
public static final String PROP_REQUEST_LOG_OUTPUT
See Also:
Constant Field Values

PROP_REQUEST_LOG_OUTPUT_TYPE

@Property(intValue=0,
          options={@PropertyOption(name="0",value="Logger Name"),@PropertyOption(name="1",value="File Name"),@PropertyOption(name="2",value="RequestLog Service")})
public static final String PROP_REQUEST_LOG_OUTPUT_TYPE
See Also:
Constant Field Values

PROP_REQUEST_LOG_ENABLED

@Property(boolValue=true)
public static final String PROP_REQUEST_LOG_ENABLED
See Also:
Constant Field Values

PROP_ACCESS_LOG_OUTPUT

@Property(value="logs/access.log")
public static final String PROP_ACCESS_LOG_OUTPUT
See Also:
Constant Field Values

PROP_ACCESS_LOG_OUTPUT_TYPE

@Property(intValue=0,
          options={@PropertyOption(name="0",value="Logger Name"),@PropertyOption(name="1",value="File Name"),@PropertyOption(name="2",value="RequestLog Service")})
public static final String PROP_ACCESS_LOG_OUTPUT_TYPE
See Also:
Constant Field Values

PROP_ACCESS_LOG_ENABLED

@Property(boolValue=true)
public static final String PROP_ACCESS_LOG_ENABLED
See Also:
Constant Field Values
Constructor Detail

RequestLogger

public RequestLogger()
Method Detail

activate

@Activate
protected void activate(org.osgi.framework.BundleContext bundleContext,
                                 Map<String,Object> props)

deactivate

@Deactivate
protected void deactivate()


Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.