Home > Back-end >  How to set logging level from Command Line Argument in IntelliJ Idea
How to set logging level from Command Line Argument in IntelliJ Idea

Time:11-08

I am trying to set this property as it was in command line in IntelliJ Idea in the run configuration

-Dlogging.level.org.springframework.jdbc.core.JdbcTemplate=DEBUG 

but it isn't working for me. How can I set this logging level in IntelliJ in a dynamic way?

IntelliJ run configuration

CodePudding user response:

Use the VM Options field to specify it instead of the program arguments:

VM Options

enter image description here

CodePudding user response:

I added it this way also with VM options: VMConfig

but still don't get the changes in the logging level: logLevel

  • Related