Try the following patch (which I'm about to commit)
diff -r 33da369d36e3 pengine/ptest.c
--- a/pengine/ptest.c Tue Aug 18 14:38:16 2009 +0200
+++ b/pengine/ptest.c Tue Aug 18 17:00:06 2009 +0200
@@ -178,7 +178,7 @@ main(int argc, char **argv)
crm_log_init("ptest", LOG_CRIT, FALSE, FALSE, 0, NULL);
crm_set_options("V?$XD:G:I:Lwx:d:aSs", "[-?Vv] -[Xxp] {other
options}", long_options,
"Calculate the cluster's response to the supplied
cluster state\n");
- cl_log_set_facility(LOG_USER);
+ cl_log_set_facility(-1);
while (1) {
int option_index = 0;
On Tue, Aug 18, 2009 at 4:25 PM, Ivan Gromov<[email protected]> wrote:
> Hi, all
>
> I use ptest -LsVV 2>&1 to determine resource and group score. I have
> noticed that the ptest writes information in /var/log/messages . Is it
> possible to forbid the ptest to write in messages file?
>
> --
> Best regards,
> Ivan Gromov.
>
>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems