Skip to content

dantelmomsft/tips---tricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

tips-&-tricks

Resynch WSL with windows clock after laptop standby

sudo ntpdate pool.ntp.org 

or

sudo hwclock -s

Change log level at runtime with spring boot actuator

curl -i -X POST -H "Content-Type: application/json" -d '{"configuredLevel":"trace"}' http://localhost:8083/actuator/loggers/org.springframework.jms

Enable remote debug with JVM and spring boot

java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000 -jar myapp.jar

with maven

mvn spring-boot:run -Dspring-boot.run.jvmArguments="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000"

more info here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published