one-jar remove verbose warning information on application load

后端 未结 9 2177
一个人的身影
一个人的身影 2021-02-19 17:18

I am using Maven, with the one-jar pluggin, but when I run the one jar executable, I\'m greeted with a wall of warnings, this is unacceptable for use

I\'ve looked at eve

9条回答
  •  半阙折子戏
    2021-02-19 17:49

    I submitted a patch for this quite some time ago that merely makes the default behavior silent.

        public static final int LOGLEVEL_VERBOSE = 5;
    
        // Loglevel for all loggers.
     -  private static int loglevel = LOGLEVEL_INFO;
     +  private static int loglevel = LOGLEVEL_NONE;
    
        private final String prefix;
    

    AFAIK, it never got applied. Recently I fixed another issue, so I put my fixes out here:

    https://github.com/nsoft/uno-jar

    Please Re-read the "as is, no warranty" part of the license several times :)

提交回复
热议问题