...
Below is an general example of setting a context parameter in the context.xml.default file.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<Context override="true"> <Parameter name="parameter-name" value="parameter-value" override="false" /> </Context> |
...
The logging setup is done by the logback.xml file and is likely to be similar across the different services, probably only differing to which file the log is written to. Below is an example logback.xml file. The content of the <file>-tag should be altered to reflect the file that is to be logged to.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<configuration> <appender name="FILE"> <file>/tmp/logfile.log</file> <append>true</append> <encoder> <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} \[%thread\] %-5level %logger{36} - %msg%n</pattern> </encoder> </appender> <root level="INFO"> <appender-ref ref="FILE" /> </root> <logger name="org.bitrepository" level="DEBUG" /> </configuration> |
...