diff --git a/src/Global/GlobalAssemblyInfo.cs b/src/Global/GlobalAssemblyInfo.cs index a492df6..4f616cf 100644 --- a/src/Global/GlobalAssemblyInfo.cs +++ b/src/Global/GlobalAssemblyInfo.cs @@ -22,4 +22,4 @@ // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[ assembly : AssemblyVersion( "1.10.0.0" ) ] \ No newline at end of file +[ assembly : AssemblyVersion( "1.9.1.0" ) ] \ No newline at end of file diff --git a/src/ShopifyAccess/Misc/ShopifyLogger.cs b/src/ShopifyAccess/Misc/ShopifyLogger.cs index f782881..ab144f7 100644 --- a/src/ShopifyAccess/Misc/ShopifyLogger.cs +++ b/src/ShopifyAccess/Misc/ShopifyLogger.cs @@ -61,10 +61,9 @@ public static void LogGetRequest( Uri requestUri, Mark mark, int timeout ) /// The type of object returned in response from Shopify. Needed to transform the response for logging public static void LogGetResponse< TResponseType >( Uri requestUri, string limit, string jsonResponse, Mark mark, int timeout ) { - //Temporarily disabled due to Production issues - // var contentForLogs = jsonResponse.ToLogContents< TResponseType >(); - // Trace( mark, "GET response\tRequest: {0} with timeout {1}ms\tLimit: {2}\tResponse: {3}", - // requestUri, timeout, limit, contentForLogs ); + var contentForLogs = jsonResponse.ToLogContents< TResponseType >(); + Trace( mark, "GET response\tRequest: {0} with timeout {1}ms\tLimit: {2}\tResponse: {3}", + requestUri, timeout, limit, contentForLogs ); } /// @@ -80,11 +79,10 @@ public static void LogGetResponse< TResponseType >( Uri requestUri, string limit public static void LogGetResponse< TResponseType >( Uri requestUri, string limit, string nextPage, string jsonResponse, Mark mark, int timeout) { - //Temporarily disabled due to Production issues - // jsonResponse = MaskPersonalInfoInShopifyOrders< TResponseType >( jsonResponse ); - // var contentForLogs = jsonResponse.ToLogContents< TResponseType >(); - // Trace( mark, "GET response\tRequest: {0} with timeout {1}ms\tLimit: {2}\tNext Page: {3}\tResponse: {4}", - // requestUri, timeout, limit, nextPage, contentForLogs ); + jsonResponse = MaskPersonalInfoInShopifyOrders< TResponseType >( jsonResponse ); + var contentForLogs = jsonResponse.ToLogContents< TResponseType >(); + Trace( mark, "GET response\tRequest: {0} with timeout {1}ms\tLimit: {2}\tNext Page: {3}\tResponse: {4}", + requestUri, timeout, limit, nextPage, contentForLogs ); } public static void LogUpdateRequest( Uri requestUri, string jsonContent, Mark mark, int timeout )