On Mon, 2 May 2005, Luke Youngblood wrote:
I'm still having issues with the stat messages and hoping someone could help
me out here. In the SingleCopy Nirvana wiki page, he references a patch to
cfservd that removes the stat messages unless you execute it with a -v. Is
there a similar patch for cfagent, or does anyone know of an easy way to do
this?
I guess that's me, I wrote the wiki page and the patch.
Here's one to do the same thing in cfagent.
*** do.c 2005-05-03 13:39:21.000000000 -0700
--- do.c.eric 2005-05-03 13:38:45.000000000 -0700
***************
*** 2449,2455 ****
if (cfstat(path,&statbuf,ip) == -1)
{
snprintf(OUTPUT,CF_BUFSIZE*2,"Can't stat %s in copy\n",path);
! CfLog(cfinform,OUTPUT,"");
SILENT = savesilent;
ResetOutputRoute('d','d');
continue;
--- 2449,2455 ----
if (cfstat(path,&statbuf,ip) == -1)
{
snprintf(OUTPUT,CF_BUFSIZE*2,"Can't stat %s in copy\n",path);
! CfLog(cfverbose,OUTPUT,"");
SILENT = savesilent;
ResetOutputRoute('d','d');
continue;