Skip to content

Commit 2f8c80b

Browse files
committed
Revert "feat: upgrade logger (#1265)"
This reverts commit d57d455.
1 parent c8b8567 commit 2f8c80b

5 files changed

Lines changed: 0 additions & 547 deletions

File tree

config/prod.exs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,6 @@ import Config
33
# Do not print debug messages in production
44
config :logger, level: :info
55

6-
# Add the CloudWatch logger backend in production
7-
config :logger, backends: [:console, {Cadet.Logger.CloudWatchLogger, :cloudwatch_logger}]
8-
9-
# Configure CloudWatch Logger
10-
config :logger, :cloudwatch_logger,
11-
level: :info,
12-
format: "$time $metadata[$level] $message\n",
13-
metadata: [:request_id],
14-
log_group: "cadet-logs",
15-
log_stream: "#{node()}-#{:os.system_time(:second)}"
16-
176
# ## SSL Support
187
#
198
# To get SSL working, you will need to add the `https` key

lib/cadet/logger/cloudwatch_logger.ex

Lines changed: 0 additions & 361 deletions
This file was deleted.

mix.exs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,6 @@ defmodule Cadet.Mixfile do
113113
{:exvcr, "~> 0.17", only: :test},
114114
{:mock, "~> 0.3", only: :test},
115115

116-
# Dependencies for logger unit testing
117-
{:mox, "~> 1.2", only: :test},
118-
{:logger_backends, "~> 1.0", only: :test},
119-
120116
# The following are indirect dependencies, but we need to override the
121117
# versions due to conflicts
122118
{:jsx, "~> 3.1", override: true},

0 commit comments

Comments
 (0)