Skip to content

Instantly share code, notes, and snippets.

@VenkataRaju
Created July 14, 2016 06:37
Show Gist options
  • Save VenkataRaju/b2be947933833cc2187072850ff09375 to your computer and use it in GitHub Desktop.
Save VenkataRaju/b2be947933833cc2187072850ff09375 to your computer and use it in GitHub Desktop.
simple command to set the slf4j logging configuration and run the application on the command line
@echo off
set CLASSPATH=config;../bin;../lib/*
@echo on
cmd /k java -Dorg.slf4j.simpleLogger.defaultLogLevel=debug -Dorg.slf4j.simpleLogger.log.com.zaxxer.hikari=info -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS com.mycomp.x.y.Main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment