Broadleaf Microservices
  • v1.0.0-latest-prod

Debugging Tips

Table of Contents

Overview

Because of the possibility of sensitive data leaking, INFO level logging performed by this service is minimal.

To help ease debugging, set the following properties: logging.level.com.broadleafcommerce.auth=DEBUG logging.level.org.springframework.security=DEBUG

These values may be set in application.yml or as Java VM options. Usage of VM args is recommended to avoid accidentally committing these properties to a primary branch. During development, it’s usually beneficial to simply always have debug logging enabled with the following Java VM args: -Dlogging.level.org.springframework.security=DEBUG -Dlogging.level.com.broadleafcommerce.auth=DEBUG