added propper logging: make sure lighttpd user has rights to write into barcodes subdirectory and into flask-app.log