{"repo":"travis-ci/travis-logs","free":true,"listed":false,"github":"https://github.com/travis-ci/travis-logs","clone":"git clone https://github.com/travis-ci/travis-logs.git","description":"Processes log updates from the job runner (worker), and streams them to the web client, aggregates them, and archives to S3.","language":"Ruby","stars":55,"topics":["logs","log","logging","logger"],"license":"MIT","category":"databases-storage","readme_excerpt":"Travis Logs Travis Logs processes log updates which are streamed from Travis Worker instances via RabbitMQ. The log parts are streamed via Pusher to the web client (Travis Web) and added to the database. Once all log parts have been received, and a timeout has passed (10 seconds default), the log parts are aggregated into one final log. Travis Logs archives logs to S3 and the database records are purged once it is verified that the logs are archived correctly. Local Development When developing locally, one may want to set certain config params via env vars, such as a DATABASE URL that points to a valid PostgreSQL server. See the .example.env file for examples. Process types Some of the process types listed in ./Procfile depend on other process types, while others are independent: drain and drain sharded process The drain process is responsible for consuming log parts messages via AMQP and batching them together as enqueued jobs in the log parts sidekiq queue. drain sharded is the same, yet connects differently to AMQP. web process The web process runs a Sinatra web app that exposes APIs to handle interactions with other Travis applications and the external Pusher service. worker critical process The worker critical process is responsible for handling jobs from the following sidekiq queues: logs.pusher forwarding sidekiq queue The jobs in the logs.pusher forwarding queue forward each log part individually to Pusher. worker high process The worker high process is responsible fo","default_branch":null,"files":null,"tree":[],"storefront":"/r/travis-ci","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/travis-ci/travis-logs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}