\r
logger = LoggerFactory.getLogger(GitBlitServer.class);\r
logger.info(Constants.BORDER);\r
- logger.info(Constants.getGitBlitVersion());\r
+ logger.info(" _____ _ _ _ _ _ _");\r
+ logger.info(" | __ \\(_)| | | | | |(_)| |");\r
+ logger.info(" | | \\/ _ | |_ | |__ | | _ | |_");\r
+ logger.info(" | | __ | || __|| '_ \\ | || || __|");\r
+ logger.info(" | |_\\ \\| || |_ | |_) || || || |_");\r
+ logger.info(" \\____/|_| \\__||_.__/ |_||_| \\__|");\r
+ int spacing = (Constants.BORDER.length() - Constants.getGitBlitVersion().length()) / 2;\r
+ StringBuilder sb = new StringBuilder();\r
+ while (spacing > 0) {\r
+ spacing--;\r
+ sb.append(' ');\r
+ }\r
+ logger.info(sb.toString() + Constants.getGitBlitVersion());\r
+ logger.info("");\r
logger.info(Constants.BORDER);\r
\r
String osname = System.getProperty("os.name");\r
params.useNIO, params.securePort);\r
String bindInterface = settings.getString(Keys.server.httpsBindInterface, null);\r
if (!StringUtils.isEmpty(bindInterface)) {\r
- logger.warn(MessageFormat.format("Binding ssl connector on port {0,number,0} to {1}",\r
- params.securePort, bindInterface));\r
+ logger.warn(MessageFormat.format(\r
+ "Binding ssl connector on port {0,number,0} to {1}", params.securePort,\r
+ bindInterface));\r
secureConnector.setHost(bindInterface);\r
}\r
if (params.securePort < 1024 && !isWindows()) {\r
if (allowRenegotiation) {\r
logger.info(" allowing SSL renegotiation on Java " + v);\r
connector.setAllowRenegotiate(allowRenegotiation);\r
- } \r
+ }\r
connector.setKeystore(keystore.getAbsolutePath());\r
connector.setPassword(password);\r
connector.setPort(port);\r