Page 1 of 1

Ignoring file for the next 300 seconds: error_log

Posted: 19 Sep 2013, 10:44
by 3245
Hello
i see following log "/var/log/cxswatch.log"
how i can ignor this file for CXS?
becuase CXS check this file, so we not need CXS check this file, correct?

Thanks.

Re: Ignoring file for the next 300 seconds: error_log

Posted: 19 Sep 2013, 11:56
by ForumAdmin

Re: Ignoring file for the next 300 seconds: error_log

Posted: 19 Sep 2013, 12:14
by 3245
Thanks
i run this command , but not work:

root@host [/usr/local/apache/logs]# pfile:.*\/error\_log
-bash: pfile:.*/error_log: No such file or directory

where i must put this rule?

Re: Ignoring file for the next 300 seconds: error_log

Posted: 20 Sep 2013, 11:03
by Sarah
You do not run it as a command, you add it to your cxs.ignore file and then restart cxswatch. Be sure to add --ignore /etc/cxs/cxs.ignore to the command line in cxswatch.sh as well.