Search code examples
loggingjhipsterjdl

JHipster: configuring log levels through jdl file


I am looking for a way to configure the microservices generated by jhipster using jdl file to precide which level of loggins i want to have.

Is there a way to do this using jdl file?

Hope to shed some lights about this!


Solution

  • It does not make sense to generate logging configuration from JDL because it's so easy to modify logging levels either in logback-spring.xml or in application.yml.

    Implementing this in JDL will never happen because it would be a violation of JHipster's policy 2: "Only add options/features when there is sufficient added-value in the generated code"