Added handler for all signals to flus log