Skip to content

Instantly share code, notes, and snippets.

@TiloGit
Created September 23, 2025 22:18
Show Gist options
  • Save TiloGit/ec1c378779ba8395966bab3a6504c371 to your computer and use it in GitHub Desktop.
Save TiloGit/ec1c378779ba8395966bab3a6504c371 to your computer and use it in GitHub Desktop.
debug Apache CMIS chemistry-opencmis-workbench log4j2 config
<Configuration status="info" packages="org.apache.chemistry.opencmis.workbench">
<Appenders>
<ClientWriterAppender name="logframe">
<PatternLayout pattern="> %d{HH:mm:ss} %5.5p %40.40c: %m%n%throwable{50}" />
</ClientWriterAppender>
<!-- Console appender -->
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} %-5p [%t] %c - %m%n"/>
</Console>
</Appenders>
<Loggers>
<Root level="debug">
<AppenderRef ref="logframe" />
<AppenderRef ref="Console"/>
</Root>
</Loggers>
</Configuration>
cd c:\myTools\chemistry-opencmis-workbench>
rem with debug!
java -Dlog4j.configurationFile=lib/log4j2.xml -cp "lib/*" org.apache.chemistry.opencmis.workbench.Workbench
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment