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>
    <Designate pid="org.apache.sling.engine.impl.log.RequestLogger">
        <Object ocdref="org.apache.sling.engine.impl.log.RequestLogger"/>
    </Designate>
</metatype:MetaData>
New to GrepCode? Check out our FAQ X