diff --git a/conman.c b/conman.c index 0932bcfa..b11a1798 100644 --- a/conman.c +++ b/conman.c @@ -307,7 +307,7 @@ SConnection *SCCreateDummyConnection(SicsInterp * pSics) pRes->iUserRights = usInternal; pRes->iGrab = 0; - Log(INFO,"SYS","%s","Accepted dummy connection "); + /* Log(INFO,"SYS","%s","Accepted dummy connection "); */ return pRes; } @@ -837,7 +837,7 @@ static void testAndWriteLog(SConnection * self, char *buffer, int iOut) }else if(strstr(buffer,"WARNING") != NULL) { Log(WARN,"notify",buffer); } else { - Log(INFO,"notify",buffer); + Log(DEBUG,"notify",buffer); } break; case eHdbEvent: diff --git a/logv2.h b/logv2.h index 4220ab81..aa2bd82a 100644 --- a/logv2.h +++ b/logv2.h @@ -129,7 +129,6 @@ void LogClose(void *data); void formatSeverity(unsigned int severity, char *buffer, unsigned int bufferLength); - extern unsigned int logEnabledArray[]; #define logEnabled(subsystem,severity) (severity <= logEnabledArray[subsystem]) diff --git a/motorsec.c b/motorsec.c index 3bb14849..f6ee04c3 100644 --- a/motorsec.c +++ b/motorsec.c @@ -324,7 +324,7 @@ static int SecMotorStatus(void *sulf, SConnection * pCon) handleMoveCallback(self, pCon); status = HWBusy; } else if (strstr(v.v.text, "poserror") != NULL) { - SCWrite(pCon,"WARNING: Position not reached",eLog); + SCWrite(pCon,"WARNING: Position repositioned",eLog); status = checkPosition(self, pCon); } else if (strstr(v.v.text, "restart") != NULL) { SCPrintf(pCon,eLog,"WARNING: restarting motor %s", self->name); diff --git a/sicsdata.c b/sicsdata.c index 8ccd7d63..ea556363 100644 --- a/sicsdata.c +++ b/sicsdata.c @@ -866,7 +866,7 @@ static int copyNode(pSICSData self, int argc, char *argv[], break; case HIPINTAR: case HIPINTVARAR: - memcpy(iData+pos, node->value.v.intArray, length*sizeof(int)); + memcpy(iData, node->value.v.intArray, length*sizeof(int)); assignType(self, pos, pos + length, INTTYPE); break; case HIPFLOATAR: