public void setLogLevel(String level) throws TikaConfigException {
        if (level.equals("debug") || level.equals("info")) {
            this.logLevel = level;
        } else {
            throw new TikaConfigException("log level must be one of: 'debug' or 'info'");
        }
    }
full path to the java executable

@return
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/TikaServerConfig.java