Refreshing page in case of error
Moved syslog