Set iocLogDisable true if log port or log inet not defined.
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user