domain="domain_placeholder"
keyword="keyword_placeholder"
if [[ $keyword == "keyword_placeholder" ]]; then
	keyword=''
fi
if [[ -f /usr/local/apache/logs/error_log ]]; then
	if [[ ! $keyword ]]; then
		tail -f /usr/local/apache/logs/error_log
	else 
		tail -f /usr/local/apache/logs/error_log |grep -i "$keyword"
	fi
else
	if [[ ! $keyword ]]; then
		tail -f /var/www/vhosts/$domain/statistics/logs/error_log
	else
		tail -f /var/www/vhosts/$domain/statistics/logs/error_log | grep -i "$keyword"
	fi
fi
		
