diff --git a/Gemfile.lock b/Gemfile.lock index 92c76b95444..bd1381272ba 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -201,7 +201,7 @@ GEM logstash-event (1.2.02) logstash-logger (0.26.1) logstash-event (~> 1.2) - logster (2.16.0) + logster (2.17.0) loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) diff --git a/config/initializers/100-logster.rb b/config/initializers/100-logster.rb index 5e08f664a69..14ab29ff7f8 100644 --- a/config/initializers/100-logster.rb +++ b/config/initializers/100-logster.rb @@ -17,6 +17,9 @@ if Rails.env.development? && !Sidekiq.server? && ENV["RAILS_LOGS_STDOUT"] == "1" unless ActiveSupport::Logger.logger_outputs_to?(original_logger, STDOUT) original_logger.extend(ActiveSupport::Logger.broadcast(console)) end + + Logster.config.back_to_site_link_path = "#{Discourse.base_path}/admin" + Logster.config.back_to_site_link_text = I18n.t("dashboard.back_from_logster_text") end end diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 1b57f0d2500..98da3a52619 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -1521,6 +1521,7 @@ en: v3_analytics_deprecated: "Your Discourse is currently using Google Analytics 3, which will no longer be supported after July 2023. Upgrade to Google Analytics 4 now to continue receiving valuable insights and analytics for your website's performance." category_style_deprecated: "Your Discourse is currently using a deprecated category style which will be removed before the final beta release of Discourse 3.2. Please refer to Moving to a Single Category Style Site Setting for instructions on how to keep your selected category style." ember_version_warning: "Your site is running with the unsupported EMBER_VERSION=3 configuration. This may lead to unexpected issues with themes/plugins. Please remove the EMBER_VERSION configuration from your app.yml file and rebuild. See https://meta.discourse.org/t/287211 for more information." + back_from_logster_text: "Back to site" site_settings: allow_bulk_invite: "Allow bulk invites by uploading a CSV file"