Method: Cosmos::TextLogWriter#s3_filename
- Defined in:
- lib/cosmos/logs/text_log_writer.rb
#s3_filename ⇒ Object
56 57 58 59 60 61 62 |
# File 'lib/cosmos/logs/text_log_writer.rb', line 56 def s3_filename # Put the name of the redis topic in the filename, but remove the scope # because we're already in a directory with the scope name split_index = @redis_topic.index("__") + 2 topic_name = @redis_topic[split_index, @redis_topic.length - split_index] "#{}__#{}__#{topic_name}" + extension end |