# sudo mkdir /log
# sudo chown {account_id} /log
spring.datasource.url={url}
spring.datasource.username={id}
spring.datasource.password={password}
c:/dev/config.properties
~/env/config.properties
profile | Description |
---|---|
log-windows | Write log files in c:/dev/log/spring |
log-linux | Write log files in /log/spring |
log-jdbc | Show(Write) jdbc logs |
log-file | Write logs in files |
log-console | Show logs in console(std-out) |
java -jar -Dspring.profiles.active=log-linux,log-jdbc,log-file ./SpringExample.jar