bugfix : error depends on log