Added setter to showErrorLog attribute