Monthly Archives: June 2017

Show Linux Partition Tree Mountpoint and If SSD

1lsblk -o TYPE,NAME,KNAME,UUID,MOUNTPOINT,SIZE,ROTA

Posted in Linux | Leave a comment

Setting log4j log level programmatically

Sometimes you don’t want to ship a log4j.properties file — you want to spin up logging in code. Useful inside unit tests, one-off debug runs, or anywhere you want to flip log levels at runtime. Here’s a self-contained setupLog4j() that … Continue reading

Posted in java | Leave a comment