FEATURE: backlink to the site from Logster (#25669)

Configure the backlink to the site from Logster.
Related PR https://github.com/discourse/logster/pull/220
This commit is contained in:
Krzysztof Kotlarek 2024-02-15 10:26:30 +11:00 committed by GitHub
parent e54c07cf49
commit e61a2fc355
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -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

View File

@ -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. <a href='https://meta.discourse.org/t/260498'>Upgrade to Google Analytics 4</a> 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 <a href='https://meta.discourse.org/t/282441'>Moving to a Single Category Style Site Setting</a> 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 <a href='https://meta.discourse.org/t/287211'>https://meta.discourse.org/t/287211</a> for more information."
back_from_logster_text: "Back to site"
site_settings:
allow_bulk_invite: "Allow bulk invites by uploading a CSV file"