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

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

@Properties(value={@Property(name="service.description",value="Factory for configuration based request/access loggers"),@Property(name="service.vendor",value="The Apache Software Foundation")})
@Service(value=RequestLoggerService.class)
public class RequestLoggerService
extends Object

The RequestLoggerService is a factory component which gets configuration to register loggers for the RequestLogger.


Field Summary
static String PARAM_FORMAT
           
static String PARAM_ON_ENTRY
           
static String PARAM_OUTPUT
           
static String PARAM_OUTPUT_TYPE
           
 
Constructor Summary
RequestLoggerService()
          Public default constructor for SCR integration
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext context)
           
protected  void deactivate(org.osgi.service.component.ComponentContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_FORMAT

@Property
public static final String PARAM_FORMAT
See Also:
Constant Field Values

PARAM_OUTPUT

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

PARAM_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 PARAM_OUTPUT_TYPE
See Also:
Constant Field Values

PARAM_ON_ENTRY

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

RequestLoggerService

public RequestLoggerService()
Public default constructor for SCR integration

Method Detail

activate

protected void activate(org.osgi.service.component.ComponentContext context)

deactivate

protected void deactivate(org.osgi.service.component.ComponentContext context)


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.