@Properties(value={@Property(name="service.description",value="Request Logger"),@Property(name="service.vendor",value="The Apache Software Foundation")}) public class RequestLogger extends Object
RequestLogger
just registers RequestLoggerService
instance on behalf of the provided configuration.Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
RequestLogger() |
Modifier and Type | Method and Description |
---|---|
protected void |
activate(org.osgi.framework.BundleContext bundleContext,
Map<String,Object> props) |
protected void |
deactivate() |
@Property(value="logs/request.log") public static final String PROP_REQUEST_LOG_OUTPUT
@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
@Property(boolValue=true) public static final String PROP_REQUEST_LOG_ENABLED
@Property(value="logs/access.log") public static final String PROP_ACCESS_LOG_OUTPUT
@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
@Property(boolValue=true) public static final String PROP_ACCESS_LOG_ENABLED
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.