Ver código fonte

feat: logs convert

Bertrand Gouny 4 anos atrás
pai
commit
4b2bf153df
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      image/Dockerfile
  2. 1 1
      image/service/slapd/assets/schema-to-ldif.sh

+ 1 - 1
image/Dockerfile

@@ -1,6 +1,6 @@
 # Use osixia/light-baseimage
 # sources: https://github.com/osixia/docker-light-baseimage
-FROM osixia/light-baseimage:1.3.2
+FROM osixia/light-baseimage:develop-dev
 
 ARG OPENLDAP_PACKAGE_VERSION=2.4.57
 

+ 1 - 1
image/service/slapd/assets/schema-to-ldif.sh

@@ -24,7 +24,7 @@ for schema in ${SCHEMAS} ; do
     echo "include ${schema}" >> convert.dat
 done
 
-slaptest -f convert.dat -F .
+slaptest -f convert.dat -F . 2>&1 | log-helper debug
 
 if [ $? -ne 0 ] ; then
     log-helper error "slaptest conversion failed"