Repository: rusoto/rusoto (language: rust)

Issue:
Fix unused "macros _use" warnings
```warning: unused `#[macro_use]` import``` shows up in a few of our services.  We should remove those unused import statements.

Hopefully this will help with https://github.com/rusoto/rusoto/issues/1206 by making the compiler do less work. 👍 

One way of seeing which services need this change is to run `cargo test --features all --no-run` in the `integration_tests` folder.


Discussion / hints:
Hi Matt, very new to the crate but this looked like it might be a good first issue. It seems all of the warnings come from the `log` crate import. The `#[macro_use]` attribute for this import can be removed in the codegen crate by modifying the following line:

https://github.com/rusoto/rusoto/blob/9482098438f494738a85690a5b943efc075a54f5/service_crategen/src/commands/generate/mod.rs#L104

Would you like me to open a PR for this (small) change?
Welcome @MichaelByrneAU!

Your proposed change looks good to me.

I briefly scanned the generated services, and we don't seem to actually be using the `log` crate anywhere anymore, so I'm wondering if we could remove it as a dependency altogether. If that's the case, this additional change could be made here: https://github.com/rusoto/rusoto/blob/9482098438f494738a85690a5b943efc075a54f5/service_crategen/src/service.rs#L154

Please remember to re-generate the services and include them in your PR as well! [The `service_crategen` README](https://github.com/rusoto/rusoto/blob/master/service_crategen/README.md) should give you an idea how to do that.

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 667f38b061b..de8fd30a393 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,7 @@
 - Add RDS Data service
 - Add ComprehendMedical service
 - Add Ap-East-1 Region
+- Remove log crate dependency from services
 
 ## [0.38.0] - 2019-04-17
 
diff --git a/rusoto/services/amplify/Cargo.toml b/rusoto/services/amplify/Cargo.toml
index 75625e07eda..0e1b5ff51bd 100644
--- a/rusoto/services/amplify/Cargo.toml
+++ b/rusoto/services/amplify/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/amplify/src/lib.rs b/rusoto/services/amplify/src/lib.rs
index 10daba46400..4734504e7b3 100644
--- a/rusoto/services/amplify/src/lib.rs
+++ b/rusoto/services/amplify/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/apigateway/Cargo.toml b/rusoto/services/apigateway/Cargo.toml
index 6bbb93e9c5f..4efe2e8febf 100644
--- a/rusoto/services/apigateway/Cargo.toml
+++ b/rusoto/services/apigateway/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/apigateway/src/lib.rs b/rusoto/services/apigateway/src/lib.rs
index 708f558990e..cb2cde2ab15 100644
--- a/rusoto/services/apigateway/src/lib.rs
+++ b/rusoto/services/apigateway/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/apigatewaymanagementapi/Cargo.toml b/rusoto/services/apigatewaymanagementapi/Cargo.toml
index f2109854260..c25d74d59ca 100644
--- a/rusoto/services/apigatewaymanagementapi/Cargo.toml
+++ b/rusoto/services/apigatewaymanagementapi/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/apigatewaymanagementapi/src/lib.rs b/rusoto/services/apigatewaymanagementapi/src/lib.rs
index 6312700989a..ca3f4fcb148 100644
--- a/rusoto/services/apigatewaymanagementapi/src/lib.rs
+++ b/rusoto/services/apigatewaymanagementapi/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/apigatewayv2/Cargo.toml b/rusoto/services/apigatewayv2/Cargo.toml
index 96192235ae0..fc9984610df 100644
--- a/rusoto/services/apigatewayv2/Cargo.toml
+++ b/rusoto/services/apigatewayv2/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/apigatewayv2/src/lib.rs b/rusoto/services/apigatewayv2/src/lib.rs
index 41b6fb60535..7c630063a2c 100644
--- a/rusoto/services/apigatewayv2/src/lib.rs
+++ b/rusoto/services/apigatewayv2/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/appsync/Cargo.toml b/rusoto/services/appsync/Cargo.toml
index 56b07e4caa9..52977268f71 100644
--- a/rusoto/services/appsync/Cargo.toml
+++ b/rusoto/services/appsync/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/appsync/src/lib.rs b/rusoto/services/appsync/src/lib.rs
index 89dc3822464..26e4d3323d6 100644
--- a/rusoto/services/appsync/src/lib.rs
+++ b/rusoto/services/appsync/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/batch/Cargo.toml b/rusoto/services/batch/Cargo.toml
index 36a7599f831..1e99d153341 100644
--- a/rusoto/services/batch/Cargo.toml
+++ b/rusoto/services/batch/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/batch/src/lib.rs b/rusoto/services/batch/src/lib.rs
index b3447852750..054379beab5 100644
--- a/rusoto/services/batch/src/lib.rs
+++ b/rusoto/services/batch/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/chime/Cargo.toml b/rusoto/services/chime/Cargo.toml
index a2f4f4712b7..82a5341fbf8 100644
--- a/rusoto/services/chime/Cargo.toml
+++ b/rusoto/services/chime/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/chime/src/lib.rs b/rusoto/services/chime/src/lib.rs
index c563be35476..e8be2623a48 100644
--- a/rusoto/services/chime/src/lib.rs
+++ b/rusoto/services/chime/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/clouddirectory/Cargo.toml b/rusoto/services/clouddirectory/Cargo.toml
index 1a5e166d0e0..1afde1ba7d8 100644
--- a/rusoto/services/clouddirectory/Cargo.toml
+++ b/rusoto/services/clouddirectory/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/clouddirectory/src/lib.rs b/rusoto/services/clouddirectory/src/lib.rs
index 3968bc87089..c0a743b4365 100644
--- a/rusoto/services/clouddirectory/src/lib.rs
+++ b/rusoto/services/clouddirectory/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/cloudsearchdomain/Cargo.toml b/rusoto/services/cloudsearchdomain/Cargo.toml
index 7283c9ba8d7..af34b54bd1a 100644
--- a/rusoto/services/cloudsearchdomain/Cargo.toml
+++ b/rusoto/services/cloudsearchdomain/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/cloudsearchdomain/src/lib.rs b/rusoto/services/cloudsearchdomain/src/lib.rs
index b423819f059..f902acce414 100644
--- a/rusoto/services/cloudsearchdomain/src/lib.rs
+++ b/rusoto/services/cloudsearchdomain/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/cognito-sync/Cargo.toml b/rusoto/services/cognito-sync/Cargo.toml
index 637fdcd371e..b3af33c2001 100644
--- a/rusoto/services/cognito-sync/Cargo.toml
+++ b/rusoto/services/cognito-sync/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/cognito-sync/src/lib.rs b/rusoto/services/cognito-sync/src/lib.rs
index 424951948ba..be9561a3aed 100644
--- a/rusoto/services/cognito-sync/src/lib.rs
+++ b/rusoto/services/cognito-sync/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/connect/Cargo.toml b/rusoto/services/connect/Cargo.toml
index d53af0755d2..cbf699c7de1 100644
--- a/rusoto/services/connect/Cargo.toml
+++ b/rusoto/services/connect/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/connect/src/lib.rs b/rusoto/services/connect/src/lib.rs
index 209058a424a..6b5d7dca8ed 100644
--- a/rusoto/services/connect/src/lib.rs
+++ b/rusoto/services/connect/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/efs/Cargo.toml b/rusoto/services/efs/Cargo.toml
index ea48a4a50d5..188d03f712d 100644
--- a/rusoto/services/efs/Cargo.toml
+++ b/rusoto/services/efs/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/efs/src/lib.rs b/rusoto/services/efs/src/lib.rs
index 16e12640e35..2936c62c58f 100644
--- a/rusoto/services/efs/src/lib.rs
+++ b/rusoto/services/efs/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/eks/Cargo.toml b/rusoto/services/eks/Cargo.toml
index 6f75d5cff36..e494498b5fd 100644
--- a/rusoto/services/eks/Cargo.toml
+++ b/rusoto/services/eks/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/eks/src/lib.rs b/rusoto/services/eks/src/lib.rs
index 0735577a872..432a128bae1 100644
--- a/rusoto/services/eks/src/lib.rs
+++ b/rusoto/services/eks/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/elastictranscoder/Cargo.toml b/rusoto/services/elastictranscoder/Cargo.toml
index de8a97cdde8..b05e67f6de2 100644
--- a/rusoto/services/elastictranscoder/Cargo.toml
+++ b/rusoto/services/elastictranscoder/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/elastictranscoder/src/lib.rs b/rusoto/services/elastictranscoder/src/lib.rs
index 238802eb90d..044dcad14af 100644
--- a/rusoto/services/elastictranscoder/src/lib.rs
+++ b/rusoto/services/elastictranscoder/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/glacier/Cargo.toml b/rusoto/services/glacier/Cargo.toml
index 66f075b07d1..302a9ce8ac9 100644
--- a/rusoto/services/glacier/Cargo.toml
+++ b/rusoto/services/glacier/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/glacier/src/lib.rs b/rusoto/services/glacier/src/lib.rs
index 624a1bb4102..c33ad7ab9c9 100644
--- a/rusoto/services/glacier/src/lib.rs
+++ b/rusoto/services/glacier/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/greengrass/Cargo.toml b/rusoto/services/greengrass/Cargo.toml
index 7c03c3c270b..f3765ed602c 100644
--- a/rusoto/services/greengrass/Cargo.toml
+++ b/rusoto/services/greengrass/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/greengrass/src/lib.rs b/rusoto/services/greengrass/src/lib.rs
index 8fa8adaaebb..27bfb0f970d 100644
--- a/rusoto/services/greengrass/src/lib.rs
+++ b/rusoto/services/greengrass/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/guardduty/Cargo.toml b/rusoto/services/guardduty/Cargo.toml
index 1812842e5c2..901c04eff85 100644
--- a/rusoto/services/guardduty/Cargo.toml
+++ b/rusoto/services/guardduty/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/guardduty/src/lib.rs b/rusoto/services/guardduty/src/lib.rs
index f0a1a82222b..167b8129f5a 100644
--- a/rusoto/services/guardduty/src/lib.rs
+++ b/rusoto/services/guardduty/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/iot-data/Cargo.toml b/rusoto/services/iot-data/Cargo.toml
index 61092b7b8c4..31d6d2478f8 100644
--- a/rusoto/services/iot-data/Cargo.toml
+++ b/rusoto/services/iot-data/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/iot-data/src/lib.rs b/rusoto/services/iot-data/src/lib.rs
index f4a971cb2fd..6521b3bef5f 100644
--- a/rusoto/services/iot-data/src/lib.rs
+++ b/rusoto/services/iot-data/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/iot-jobs-data/Cargo.toml b/rusoto/services/iot-jobs-data/Cargo.toml
index 54a3a1a4bbe..2729dfe36cb 100644
--- a/rusoto/services/iot-jobs-data/Cargo.toml
+++ b/rusoto/services/iot-jobs-data/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/iot-jobs-data/src/lib.rs b/rusoto/services/iot-jobs-data/src/lib.rs
index 97cfd0bbcd2..92bf1c722c0 100644
--- a/rusoto/services/iot-jobs-data/src/lib.rs
+++ b/rusoto/services/iot-jobs-data/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/iot/Cargo.toml b/rusoto/services/iot/Cargo.toml
index 05a84c4fe3e..7be876f1e60 100644
--- a/rusoto/services/iot/Cargo.toml
+++ b/rusoto/services/iot/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/iot/src/lib.rs b/rusoto/services/iot/src/lib.rs
index 5663f7a44fa..fc4afd617a4 100644
--- a/rusoto/services/iot/src/lib.rs
+++ b/rusoto/services/iot/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/iot1click-devices/Cargo.toml b/rusoto/services/iot1click-devices/Cargo.toml
index 470d15d52ce..c44ff2d5339 100644
--- a/rusoto/services/iot1click-devices/Cargo.toml
+++ b/rusoto/services/iot1click-devices/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/iot1click-devices/src/lib.rs b/rusoto/services/iot1click-devices/src/lib.rs
index 23f7bb821c0..8d603d010b4 100644
--- a/rusoto/services/iot1click-devices/src/lib.rs
+++ b/rusoto/services/iot1click-devices/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/iot1click-projects/Cargo.toml b/rusoto/services/iot1click-projects/Cargo.toml
index 57e288d11ed..4b43804b8c6 100644
--- a/rusoto/services/iot1click-projects/Cargo.toml
+++ b/rusoto/services/iot1click-projects/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/iot1click-projects/src/lib.rs b/rusoto/services/iot1click-projects/src/lib.rs
index f0389b6b047..eb6689f93ff 100644
--- a/rusoto/services/iot1click-projects/src/lib.rs
+++ b/rusoto/services/iot1click-projects/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/iotanalytics/Cargo.toml b/rusoto/services/iotanalytics/Cargo.toml
index dda49a31c4c..dd837148420 100644
--- a/rusoto/services/iotanalytics/Cargo.toml
+++ b/rusoto/services/iotanalytics/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/iotanalytics/src/lib.rs b/rusoto/services/iotanalytics/src/lib.rs
index 669b0e3eb4d..d62bcfcb541 100644
--- a/rusoto/services/iotanalytics/src/lib.rs
+++ b/rusoto/services/iotanalytics/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/kafka/Cargo.toml b/rusoto/services/kafka/Cargo.toml
index 1dc4171bd89..e1799541f88 100644
--- a/rusoto/services/kafka/Cargo.toml
+++ b/rusoto/services/kafka/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/kafka/src/lib.rs b/rusoto/services/kafka/src/lib.rs
index 3254a20ce78..7a6c9ea46d0 100644
--- a/rusoto/services/kafka/src/lib.rs
+++ b/rusoto/services/kafka/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/kinesis-video-archived-media/Cargo.toml b/rusoto/services/kinesis-video-archived-media/Cargo.toml
index a372c072c32..0299a99ae01 100644
--- a/rusoto/services/kinesis-video-archived-media/Cargo.toml
+++ b/rusoto/services/kinesis-video-archived-media/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/kinesis-video-archived-media/src/lib.rs b/rusoto/services/kinesis-video-archived-media/src/lib.rs
index e5fe2e4c00f..6bd1c5715b7 100644
--- a/rusoto/services/kinesis-video-archived-media/src/lib.rs
+++ b/rusoto/services/kinesis-video-archived-media/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/kinesis-video-media/Cargo.toml b/rusoto/services/kinesis-video-media/Cargo.toml
index f7d0576a076..dd9073bcdd0 100644
--- a/rusoto/services/kinesis-video-media/Cargo.toml
+++ b/rusoto/services/kinesis-video-media/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/kinesis-video-media/src/lib.rs b/rusoto/services/kinesis-video-media/src/lib.rs
index e4f276ced44..a10ba20ea96 100644
--- a/rusoto/services/kinesis-video-media/src/lib.rs
+++ b/rusoto/services/kinesis-video-media/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/kinesisvideo/Cargo.toml b/rusoto/services/kinesisvideo/Cargo.toml
index 2408c8ec6ac..4f6beb565b6 100644
--- a/rusoto/services/kinesisvideo/Cargo.toml
+++ b/rusoto/services/kinesisvideo/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/kinesisvideo/src/lib.rs b/rusoto/services/kinesisvideo/src/lib.rs
index 9b77fa19ea3..34bd4ee6c8d 100644
--- a/rusoto/services/kinesisvideo/src/lib.rs
+++ b/rusoto/services/kinesisvideo/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/lambda/Cargo.toml b/rusoto/services/lambda/Cargo.toml
index 02d53709035..6396ffc1134 100644
--- a/rusoto/services/lambda/Cargo.toml
+++ b/rusoto/services/lambda/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/lambda/src/lib.rs b/rusoto/services/lambda/src/lib.rs
index 592dbeced74..6e23e7d6c9b 100644
--- a/rusoto/services/lambda/src/lib.rs
+++ b/rusoto/services/lambda/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/lex-models/Cargo.toml b/rusoto/services/lex-models/Cargo.toml
index 88b4c00f8cf..6ec01eae236 100644
--- a/rusoto/services/lex-models/Cargo.toml
+++ b/rusoto/services/lex-models/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/lex-models/src/lib.rs b/rusoto/services/lex-models/src/lib.rs
index 2a9e1118d3e..ec685819e68 100644
--- a/rusoto/services/lex-models/src/lib.rs
+++ b/rusoto/services/lex-models/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/lex-runtime/Cargo.toml b/rusoto/services/lex-runtime/Cargo.toml
index 43be6b4fbd8..e1fd0e0a3d3 100644
--- a/rusoto/services/lex-runtime/Cargo.toml
+++ b/rusoto/services/lex-runtime/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/lex-runtime/src/lib.rs b/rusoto/services/lex-runtime/src/lib.rs
index 8a492f1e108..442d22b9737 100644
--- a/rusoto/services/lex-runtime/src/lib.rs
+++ b/rusoto/services/lex-runtime/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/mediaconvert/Cargo.toml b/rusoto/services/mediaconvert/Cargo.toml
index 0c7c61e425e..e69fef945d0 100644
--- a/rusoto/services/mediaconvert/Cargo.toml
+++ b/rusoto/services/mediaconvert/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/mediaconvert/src/lib.rs b/rusoto/services/mediaconvert/src/lib.rs
index 8de03e56542..19efeaef4df 100644
--- a/rusoto/services/mediaconvert/src/lib.rs
+++ b/rusoto/services/mediaconvert/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/medialive/Cargo.toml b/rusoto/services/medialive/Cargo.toml
index 5787feacf3d..62a99ecdc5c 100644
--- a/rusoto/services/medialive/Cargo.toml
+++ b/rusoto/services/medialive/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/medialive/src/lib.rs b/rusoto/services/medialive/src/lib.rs
index db52bc3c03a..4b99720b9d3 100644
--- a/rusoto/services/medialive/src/lib.rs
+++ b/rusoto/services/medialive/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/mediapackage/Cargo.toml b/rusoto/services/mediapackage/Cargo.toml
index b548507b47b..b05a957d14c 100644
--- a/rusoto/services/mediapackage/Cargo.toml
+++ b/rusoto/services/mediapackage/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/mediapackage/src/lib.rs b/rusoto/services/mediapackage/src/lib.rs
index 5d6e46ee331..fc9366fb917 100644
--- a/rusoto/services/mediapackage/src/lib.rs
+++ b/rusoto/services/mediapackage/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/mediatailor/Cargo.toml b/rusoto/services/mediatailor/Cargo.toml
index 60a7f650d3d..ce903841d2f 100644
--- a/rusoto/services/mediatailor/Cargo.toml
+++ b/rusoto/services/mediatailor/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/mediatailor/src/lib.rs b/rusoto/services/mediatailor/src/lib.rs
index b0dc6e90b93..62d14c1efab 100644
--- a/rusoto/services/mediatailor/src/lib.rs
+++ b/rusoto/services/mediatailor/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/mobile/Cargo.toml b/rusoto/services/mobile/Cargo.toml
index 8faeab4351a..4d36e908380 100644
--- a/rusoto/services/mobile/Cargo.toml
+++ b/rusoto/services/mobile/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/mobile/src/lib.rs b/rusoto/services/mobile/src/lib.rs
index 9620edbbbed..36db0a0e342 100644
--- a/rusoto/services/mobile/src/lib.rs
+++ b/rusoto/services/mobile/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/mq/Cargo.toml b/rusoto/services/mq/Cargo.toml
index ba5dee3ab7f..6275ef1c244 100644
--- a/rusoto/services/mq/Cargo.toml
+++ b/rusoto/services/mq/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/mq/src/lib.rs b/rusoto/services/mq/src/lib.rs
index 615b67b208f..97e42a32823 100644
--- a/rusoto/services/mq/src/lib.rs
+++ b/rusoto/services/mq/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/polly/Cargo.toml b/rusoto/services/polly/Cargo.toml
index d38c1c6efc7..919b0f35e5b 100644
--- a/rusoto/services/polly/Cargo.toml
+++ b/rusoto/services/polly/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/polly/src/lib.rs b/rusoto/services/polly/src/lib.rs
index 59a0ec44df6..b88e9c690dd 100644
--- a/rusoto/services/polly/src/lib.rs
+++ b/rusoto/services/polly/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/ram/Cargo.toml b/rusoto/services/ram/Cargo.toml
index 329bc3d18c2..4d4bf38501d 100644
--- a/rusoto/services/ram/Cargo.toml
+++ b/rusoto/services/ram/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/ram/src/lib.rs b/rusoto/services/ram/src/lib.rs
index bee85790584..f195501facd 100644
--- a/rusoto/services/ram/src/lib.rs
+++ b/rusoto/services/ram/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/rds-data/Cargo.toml b/rusoto/services/rds-data/Cargo.toml
index 03722b4ad13..a2e14032a63 100644
--- a/rusoto/services/rds-data/Cargo.toml
+++ b/rusoto/services/rds-data/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/rds-data/src/lib.rs b/rusoto/services/rds-data/src/lib.rs
index a59a37483e3..43bae6f5330 100644
--- a/rusoto/services/rds-data/src/lib.rs
+++ b/rusoto/services/rds-data/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/resource-groups/Cargo.toml b/rusoto/services/resource-groups/Cargo.toml
index 8f4df0aef58..8bac18d333b 100644
--- a/rusoto/services/resource-groups/Cargo.toml
+++ b/rusoto/services/resource-groups/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/resource-groups/src/lib.rs b/rusoto/services/resource-groups/src/lib.rs
index 0ebf9790a32..b580de43608 100644
--- a/rusoto/services/resource-groups/src/lib.rs
+++ b/rusoto/services/resource-groups/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/sagemaker-runtime/Cargo.toml b/rusoto/services/sagemaker-runtime/Cargo.toml
index 4b8c35f789c..2463d3b16bf 100644
--- a/rusoto/services/sagemaker-runtime/Cargo.toml
+++ b/rusoto/services/sagemaker-runtime/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/sagemaker-runtime/src/lib.rs b/rusoto/services/sagemaker-runtime/src/lib.rs
index 52d72a12544..952dc648d29 100644
--- a/rusoto/services/sagemaker-runtime/src/lib.rs
+++ b/rusoto/services/sagemaker-runtime/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/serverlessrepo/Cargo.toml b/rusoto/services/serverlessrepo/Cargo.toml
index 45f75c90e6d..cda7d43c28a 100644
--- a/rusoto/services/serverlessrepo/Cargo.toml
+++ b/rusoto/services/serverlessrepo/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/serverlessrepo/src/lib.rs b/rusoto/services/serverlessrepo/src/lib.rs
index 48904a83574..2f451e921fe 100644
--- a/rusoto/services/serverlessrepo/src/lib.rs
+++ b/rusoto/services/serverlessrepo/src/lib.rs
@@ -38,8 +38,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/workdocs/Cargo.toml b/rusoto/services/workdocs/Cargo.toml
index adfe91dff85..81ee37f3394 100644
--- a/rusoto/services/workdocs/Cargo.toml
+++ b/rusoto/services/workdocs/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/workdocs/src/lib.rs b/rusoto/services/workdocs/src/lib.rs
index 9f625cebea1..a090cc1b9e6 100644
--- a/rusoto/services/workdocs/src/lib.rs
+++ b/rusoto/services/workdocs/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/worklink/Cargo.toml b/rusoto/services/worklink/Cargo.toml
index d9d1a1b2c6c..07df0a2a20b 100644
--- a/rusoto/services/worklink/Cargo.toml
+++ b/rusoto/services/worklink/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/worklink/src/lib.rs b/rusoto/services/worklink/src/lib.rs
index c3d773d718d..419b0e0ec30 100644
--- a/rusoto/services/worklink/src/lib.rs
+++ b/rusoto/services/worklink/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/rusoto/services/xray/Cargo.toml b/rusoto/services/xray/Cargo.toml
index cc7148a880a..b11cf2eddb5 100644
--- a/rusoto/services/xray/Cargo.toml
+++ b/rusoto/services/xray/Cargo.toml
@@ -15,7 +15,6 @@ homepage = "https://www.rusoto.org/"
 [dependencies]
 bytes = "0.4.12"
 futures = "0.1.16"
-log = "0.4.1"
 serde = "1.0.2"
 serde_derive = "1.0.2"
 serde_json = "1.0.1"
diff --git a/rusoto/services/xray/src/lib.rs b/rusoto/services/xray/src/lib.rs
index 14a39b7980f..a5fdb030abb 100644
--- a/rusoto/services/xray/src/lib.rs
+++ b/rusoto/services/xray/src/lib.rs
@@ -18,8 +18,6 @@
 
 extern crate bytes;
 extern crate futures;
-#[macro_use]
-extern crate log;
 extern crate rusoto_core;
 extern crate serde;
 #[macro_use]
diff --git a/service_crategen/src/commands/generate/mod.rs b/service_crategen/src/commands/generate/mod.rs
index bcf381106c9..ffd509c8c38 100644
--- a/service_crategen/src/commands/generate/mod.rs
+++ b/service_crategen/src/commands/generate/mod.rs
@@ -101,7 +101,7 @@ pub fn generate_services(
                 return "extern crate xml;".into();
             }
             let safe_name = k.replace("-", "_");
-            let use_macro = k == "serde_derive" || k == "log" || k == "lazy_static";
+            let use_macro = k == "serde_derive" || k == "lazy_static";
             if use_macro {
                 return format!("#[macro_use]\nextern crate {};", safe_name);
             }
diff --git a/service_crategen/src/service.rs b/service_crategen/src/service.rs
index 83bbe753518..7594ee7efb6 100644
--- a/service_crategen/src/service.rs
+++ b/service_crategen/src/service.rs
@@ -151,7 +151,6 @@ impl<'b> Service<'b> {
                 dependencies.insert("xml-rs".to_owned(), cargo::Dependency::Simple("0.7".into()));
             }
             "rest-json" => {
-                dependencies.insert("log".to_owned(), cargo::Dependency::Simple("0.4.1".into()));
                 dependencies.insert(
                     "serde".to_owned(),
                     cargo::Dependency::Simple("1.0.2".into()),


Test patch: