diff --git a/software/erp5/instance-varnish.cfg b/software/erp5/instance-varnish.cfg
index d08d9de18109ea0db2429576cd6337ab959a3e40..ea204f7f7ac3499b071444895112a356e5f6009f 100644
--- a/software/erp5/instance-varnish.cfg
+++ b/software/erp5/instance-varnish.cfg
@@ -53,7 +53,8 @@ web-checker-working-directory = $${directory:web-checker}
 # for now frontend-url is varnish, it will replace with the real front-end one.
 frontend-url = $${varnish-instance:ip}:$${varnish-instance:server-port}
 wget-binary-path = ${wget:location}/bin/wget
-varnishlog-binary-path = $${varnish-instance:varnishlog-wrapper}
+#varnishlog-binary-path = $${varnish-instance:varnishlog-wrapper}
+varnishlog-binary-path = $${varnish-instance:varnishlog-binary} -a $${varnish-instance:ip}:$${varnish-instance:server-port} -n $${varnish-instance:varnish-instance-name}
 web-checker-log = $${basedirectory:log}/web-checker.log
 
 [cron]
diff --git a/software/erp5/software.cfg b/software/erp5/software.cfg
index 9512de86ec2181f0a50ceff094d89da47cc249e7..3281a64796333508eebd6be35742d8fd7de84200 100644
--- a/software/erp5/software.cfg
+++ b/software/erp5/software.cfg
@@ -143,7 +143,7 @@ mode = 0644
 [template-varnish]
 recipe = slapos.recipe.template
 url = ${:_profile_base_location_}/instance-varnish.cfg
-md5sum = 70fb0ccadf0d6723ddb0fe55a1549ca5
+md5sum = dce0cd5051e065961bdd57af3015b2c1
 output = ${buildout:directory}/template-varnish.cfg
 mode = 0644