We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb33e92 commit d6df75cCopy full SHA for d6df75c
lib/tasks/podcasts.rake
@@ -3,10 +3,10 @@ require 'rss'
3
namespace :podcasts do
4
desc 'Anchor.fm から Podcast データ情報を取得して登録'
5
task upsert: :environment do
6
- user_id = '626746926'
7
- logger = ActiveSupport::Logger.new('log/podcasts.log')
8
- console = ActiveSupport::Logger.new(STDOUT)
9
- logger.extend ActiveSupport::Logger.broadcast(console)
+ user_id = '626746926'
+ logger = ActiveSupport::Logger.new('log/podcasts.log')
+ console = ActiveSupport::Logger.new(STDOUT)
+ logger = ActiveSupport::BroadcastLogger.new(logger, console)
10
11
logger.info('==== START podcasts:upsert ====')
12
0 commit comments