SQL: set empty string fields as NULL in the logs table.
SQL: set empty string fields as NULL in the logs table.

This fixes #5613.

centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker