Fixed check for empty custom logs

Fixed check for empty custom_access_event_log and custom_event_log, as
custom logs equal to empty string were not treated as empty logs.