Skip to content

Commit 6eb75af

Browse files
committed
v0.1.2 - update logtail.com hosts
1 parent 6ecea8d commit 6eb75af

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/logtail/log_devices/http.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ module LogDevices
1717
#
1818
# See {#initialize} for options and more details.
1919
class HTTP
20-
LOGTAIL_STAGING_HOST = "logs-staging.logtail.com".freeze
21-
LOGTAIL_PRODUCTION_HOST = "logs.logtail.com".freeze
20+
LOGTAIL_STAGING_HOST = "in-staging.logtail.com".freeze
21+
LOGTAIL_PRODUCTION_HOST = "in.logtail.com".freeze
2222
LOGTAIL_HOST = ENV['LOGTAIL_STAGING'] ? LOGTAIL_STAGING_HOST : LOGTAIL_PRODUCTION_HOST
2323
LOGTAIL_PORT = 443
2424
LOGTAIL_SCHEME = "https".freeze

lib/logtail/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Logtail
2-
VERSION = "0.1.1"
2+
VERSION = "0.1.2"
33
end

spec/logtail/log_devices/http_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
let(:time) { Time.utc(2016, 9, 1, 12, 0, 0) }
126126

127127
it "should deliver requests on an interval" do
128-
stub = stub_request(:post, "https://logs.logtail.com/").
128+
stub = stub_request(:post, "https://in.logtail.com/").
129129
with(
130130
:body => start_with("\x92\x83\xA5level\xA4INFO\xA2dt\xBB2016-09-01T12:00:00.000000Z\xA7message\xB2test log message 1".force_encoding("ASCII-8BIT")),
131131
:headers => {

0 commit comments

Comments
 (0)