Replacing FATAL by ERROR and preventing the creation of log output if not needed