Added a log directory for the queries module