From 5eab74508e463372d44fd6e9ddbdb14ad9174469 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Wed, 21 Oct 1998 19:00:02 +0000 Subject: [PATCH] Set iocLogDisable true if log port or log inet not defined. --- src/libvxWorks/iocLogClient.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/libvxWorks/iocLogClient.c b/src/libvxWorks/iocLogClient.c index 2b853f56b..79dc2bdbe 100644 --- a/src/libvxWorks/iocLogClient.c +++ b/src/libvxWorks/iocLogClient.c @@ -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 */