wich logging implementation are you using? in logging.propertie you are configuring apache log. to user pure java log, try to configure programmatically, something like this:

        static logger logger = logger.getlogger(yourclass.class.getname());

        system.setproperty("java.util.logging.simpleformatter.format", "%4$s: [%1$tc] %5$s %n");
        //creating consolehandler and filehandler
        consolehandler = new consolehandler();

        //setting levels to handlers and logger
        consolehandler.setformatter(new simpleformatter());

        .. when you want to log, do this: 

        logger.log(level.fine, "hello log");

Related Query

More Query from same tag