Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<metatype:MetaData xmlns:metatype="http://www.osgi.org/xmlns/metatype/v1.0.0" localization="OSGI-INF/metatype/metatype">
    <OCD id="org.apache.sling.engine.impl.log.RequestLogger" name="%request.log.name" description="%request.log.description">
        <AD id="request.log.output" type="String" default="logs/request.log" name="%request.log.output.name" description="%request.log.output.description"/>
        <AD id="request.log.outputtype" type="Integer" default="0" name="%request.log.outputtype.name" description="%request.log.outputtype.description">
            <Option value="0" label="Logger Name"/>
            <Option value="1" label="File Name"/>
            <Option value="2" label="RequestLog Service"/>
        </AD>
        <AD id="request.log.enabled" type="Boolean" default="true" name="%request.log.enabled.name" description="%request.log.enabled.description"/>
        <AD id="access.log.output" type="String" default="logs/access.log" name="%access.log.output.name" description="%access.log.output.description"/>
        <AD id="access.log.outputtype" type="Integer" default="0" name="%access.log.outputtype.name" description="%access.log.outputtype.description">
            <Option value="0" label="Logger Name"/>
            <Option value="1" label="File Name"/>
            <Option value="2" label="RequestLog Service"/>
        </AD>
        <AD id="access.log.enabled" type="Boolean" default="true" name="%access.log.enabled.name" description="%access.log.enabled.description"/>
    </OCD>
    <OCD id="org.apache.sling.engine.impl.log.RequestLoggerService" name="%request.log.service.name" description="%request.log.service.description">
        <AD id="request.log.service.format" type="String" name="%request.log.service.format.name" description="%request.log.service.format.description"/>
        <AD id="request.log.service.output" type="String" default="request.log" name="%request.log.service.output.name" description="%request.log.service.output.description"/>
        <AD id="request.log.service.outputtype" type="Integer" default="0" name="%request.log.service.outputtype.name" description="%request.log.service.outputtype.description">
            <Option value="0" label="Logger Name"/>
            <Option value="1" label="File Name"/>
            <Option value="2" label="RequestLog Service"/>
        </AD>
        <AD id="request.log.service.onentry" type="Boolean" default="false" name="%request.log.service.onentry.name" description="%request.log.service.onentry.description"/>
    </OCD>
    <OCD id="org.apache.sling.engine.impl.SlingMainServlet" name="%sling.name" description="%sling.description">
        <AD id="sling.max.calls" type="Integer" default="1000" name="%sling.max.calls.name" description="%sling.max.calls.description"/>
        <AD id="sling.max.inclusions" type="Integer" default="50" name="%sling.max.inclusions.name" description="%sling.max.inclusions.description"/>
        <AD id="sling.trace.allow" type="Boolean" default="false" name="%sling.trace.allow.name" description="%sling.trace.allow.description"/>
        <AD id="sling.filter.compat.mode" type="Boolean" default="false" name="%sling.filter.compat.mode.name" description="%sling.filter.compat.mode.description"/>
        <AD id="sling.max.record.requests" type="Integer" default="20" name="%sling.max.record.requests.name" description="%sling.max.record.requests.description"/>
        <AD id="sling.default.parameter.encoding" type="String" name="%sling.default.parameter.encoding.name" description="%sling.default.parameter.encoding.description"/>
    </OCD>
    <Designate pid="org.apache.sling.engine.impl.log.RequestLogger">
        <Object ocdref="org.apache.sling.engine.impl.log.RequestLogger"/>
    </Designate>
    <Designate pid="org.apache.sling.engine.impl.log.RequestLoggerService" factoryPid="org.apache.sling.engine.impl.log.RequestLoggerService">
        <Object ocdref="org.apache.sling.engine.impl.log.RequestLoggerService"/>
    </Designate>
    <Designate pid="org.apache.sling.engine.impl.SlingMainServlet">
        <Object ocdref="org.apache.sling.engine.impl.SlingMainServlet"/>
    </Designate>
</metatype:MetaData>
New to GrepCode? Check out our FAQ X