Set iocLogDisable true if log port or log inet not defined.

This commit is contained in:
Janet B. Anderson
1998-10-21 19:00:02 +00:00
parent 1d5bb33527
commit 5eab74508e
+10
View File
@@ -33,6 +33,9 @@
* .01 joh 081591 Added epics env config
* .02 joh 011995 Allow stdio also
* $Log$
* Revision 1.19 1998/06/18 00:15:03 jhill
* use ipAddrToA
*
* Revision 1.18 1998/02/06 00:51:42 jhill
* deleted extra include of assert.h
*
@@ -124,6 +127,13 @@ int iocLogInit(void)
return OK;
}
status = getConfig();
if(status<0){
printf ("iocLogClient: logging disabled\n");
iocLogDisable = 1;
return OK;
}
/*
* dont init twice
*/