From d1e70578baad541ad44c5f85f50c52bcc698e9a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Tue, 12 Oct 2021 19:29:34 +0200 Subject: [PATCH] Adding support links to proxysql.com --- lib/ProxySQL_GloVars.cpp | 2 ++ src/main.cpp | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/ProxySQL_GloVars.cpp b/lib/ProxySQL_GloVars.cpp index fd86d4377..d4cdf76ed 100644 --- a/lib/ProxySQL_GloVars.cpp +++ b/lib/ProxySQL_GloVars.cpp @@ -50,6 +50,8 @@ void crash_handler(int sig) { } //free(strings); // we don't free, we are crashing anyway } + fprintf(stderr, "To report a crashing bug visit: https://github.com/sysown/proxysql/issues\n"); + fprintf(stderr, "For support visit: https://proxysql.com/services/support/\n"); #endif /* __GLIBC__ */ diff --git a/src/main.cpp b/src/main.cpp index 2ba2b9303..e78cf1d26 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1168,7 +1168,7 @@ bool ProxySQL_daemonize_phase2() { //daemon_log(LOG_INFO, "Starting ProxySQL\n"); //daemon_log(LOG_INFO, "Sucessfully started"); proxy_info("Starting ProxySQL\n"); - proxy_info("Sucessfully started\n"); + proxy_info("Successfully started\n"); return true; } @@ -1464,6 +1464,10 @@ __start_label: #ifdef DEBUG std::cerr << "WARNING: this is a DEBUG release and can be slow or perform poorly. Do not use it in production" << std::endl; #endif + proxy_info("For information about products and services visit: https://proxysql.com/\n"); + proxy_info("For online documentation visit: https://proxysql.com/documentation/\n"); + proxy_info("For support visit: https://proxysql.com/services/support/\n"); + proxy_info("For consultancy visit: https://proxysql.com/services/consulting/\n"); { unsigned int missed_heartbeats = 0;