diff --git a/Changelog.md b/Changelog.md
--- a/Changelog.md
+++ b/Changelog.md
@@ -1,3 +1,7 @@
+### 1.6.2.2
+
+- Use type synonym *LazyByteString* from *bytestring &ge; 0.11.2.0*.
+
 ### 1.6.2.1
 
 - Revert to using C stubs with HLS via CPP macro *\_\_GHCIDE\_\_*.
diff --git a/NgxExport/Log/Gen.hs b/NgxExport/Log/Gen.hs
--- a/NgxExport/Log/Gen.hs
+++ b/NgxExport/Log/Gen.hs
@@ -8,6 +8,7 @@
 import           Control.Arrow
 import           Data.ByteString (ByteString)
 import qualified Data.ByteString.Lazy as L
+import           Data.ByteString.Lazy (LazyByteString)
 import           Data.List
 import           Data.Char
 
@@ -36,7 +37,7 @@
         concatMap
         (\((con, fn), f) ->
              let fl = mkName fn
-             in [sigD fl [t|ByteString -> IO L.ByteString|]
+             in [sigD fl [t|ByteString -> IO LazyByteString|]
                 ,FUND fl [clause [varP $ mkName "msg"]
                              (normalB
                                  [|$(varE f) $(conE con) msg >> return L.empty|]
diff --git a/ngx-export-log.cabal b/ngx-export-log.cabal
--- a/ngx-export-log.cabal
+++ b/ngx-export-log.cabal
@@ -1,5 +1,5 @@
 name:                  ngx-export-log
-version:               1.6.2.1
+version:               1.6.2.2
 synopsis:    Native Nginx logging from configuration files and Haskell handlers
 description: Native Nginx logging from configuration files and Haskell handlers.
         .
@@ -27,7 +27,7 @@
                      , template-haskell >= 2.11.0
                      , ngx-export >= 1.7.1
                      , ngx-export-tools >= 0.4.9.0
-                     , bytestring
+                     , bytestring >= 0.11.2.0
 
   exposed-modules:     NgxExport.Log
   other-modules:       NgxExport.Log.Base
