Invidious is an alternative front-end to YouTube
Adjust log verbosity
saltycrysdf9e7f284c95
diff --git a/src/invidious/channels.cr b/src/invidious/channels.crindex 274e86f9..9986fe1b 100644--- a/src/invidious/channels.cr+++ b/src/invidious/channels.cr@@ -203,6 +203,7 @@ def get_channel(id, db, refresh = true, pull_all_videos = true)enddef fetch_channel(ucid, db, pull_all_videos = true, locale = nil)+ LOGGER.debug("fetch_channel: #{ucid}")LOGGER.trace("fetch_channel: #{ucid} : pull_all_videos = #{pull_all_videos}, locale = #{locale}")LOGGER.trace("fetch_channel: #{ucid} : Downloading RSS feed")diff --git a/src/invidious/helpers/helpers.cr b/src/invidious/helpers/helpers.crindex cf965dad..e41f8317 100644--- a/src/invidious/helpers/helpers.cr+++ b/src/invidious/helpers/helpers.cr@@ -67,7 +67,7 @@ class Configproperty channel_threads : Int32 = 1 # Number of threads to use for crawling videos from channels (for updating subscriptions)property feed_threads : Int32 = 1 # Number of threads to use for updating feedsproperty output : String = "STDOUT" # Log file path or STDOUT- property log_level : LogLevel = LogLevel::Debug # Default log level, valid YAML values are ints and strings, see src/invidious/helpers/logger.cr+ property log_level : LogLevel = LogLevel::Info # Default log level, valid YAML values are ints and strings, see src/invidious/helpers/logger.crproperty db : DBConfig # Database configurationproperty decrypt_polling : Bool = true # Use polling to keep decryption function up to dateproperty full_refresh : Bool = false # Used for crawling channels: threads should check all videos uploaded by a channeldiff --git a/src/invidious/jobs/refresh_channels_job.cr b/src/invidious/jobs/refresh_channels_job.crindex 0c6ef79e..3e94a56e 100644--- a/src/invidious/jobs/refresh_channels_job.cr+++ b/src/invidious/jobs/refresh_channels_job.cr@@ -26,7 +26,7 @@ class Invidious::Jobs::RefreshChannelsJob < Invidious::Jobs::BaseJobendend- LOGGER.trace("RefreshChannelsJob: #{id} : Spawning fiber")+ LOGGER.debug("RefreshChannelsJob: #{id} : Spawning fiber")active_fibers += 1spawn dobegin@@ -52,7 +52,7 @@ class Invidious::Jobs::RefreshChannelsJob < Invidious::Jobs::BaseJobendendensure- LOGGER.trace("RefreshChannelsJob: #{id} fiber : Done")+ LOGGER.debug("RefreshChannelsJob: #{id} fiber : Done")active_channel.send(true)endend