if sholog parameter not given log errors and messages to log file