Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 6 Current »

The requirement to log method entries and exits specified in the Logging Concept is automatically implemented by the LoggingAspect class inside the taskana-common-logging module. If you don’t want to use the LoggingAspect you can deactivate it by deactivating the aspectj-logging profile by providing the property -DskipAspectJ.

Compile-Time Weaving

In order to use the automatic TRACE logging the source code and the AspectJ LoggingAspect have to be combined together in a process called weaving. You have to compile the taskana-common-logging module first. Afterwards compile your desired module and set the log level to TRACE.

 Use the following maven commands
  1. mvn compile -pl :taskana-common-logging,:<your module>

  2. or simply mvn compile if you want to use the LoggingAscept for the entire project

If you modify something within the taskana-common-logging module you probably have to install it again. Use:

mvn install -pl :taskana-common-logging -DskipTests -Dcheckstyle.skip

  • No labels