new logging, SIGPIPE and other handled

This commit is contained in:
Matej Sekoranja
2011-08-25 15:17:36 +02:00
parent dee09c353e
commit 872135a4b1
23 changed files with 340 additions and 145 deletions

View File

@@ -4,7 +4,7 @@
#include <stdio.h>
#include <epicsStdlib.h>
#include <epicsGetopt.h>
#include <errlog.h>
#include <logger.h>
#include <vector>
#include <string>
@@ -559,8 +559,8 @@ int main (int argc, char *argv[])
return 1;
}
// typedef enum {errlogInfo, errlogMinor, errlogMajor, errlogFatal} errlogSevEnum;
errlogSetSevToLog(errlogMajor);
// typedef enum {logLevelInfo, logLevelDebug, logLevelError, errlogFatal} errlogSevEnum;
SET_LOG_LEVEL(logLevelError);
ClientFactory::start();