for now, leaving as before the background colors

This commit is contained in:
Dhanya Maliakal 2016-11-07 11:19:20 +01:00
parent a17e65c22f
commit 96284fde87
2 changed files with 3 additions and 2 deletions

View File

@ -222,7 +222,8 @@ inline void Output2FILE::Output(const std::string& msg, TLogLevel level)
switch(level){
case logERROR: cprintf(RED BOLD,"%s",msg.c_str()); break;
case logWARNING: cprintf(YELLOW BOLD,"%s",msg.c_str()); break;
case logINFO: cprintf(DARKGRAY BOLD,"%s",msg.c_str()); break;
case logINFO: cprintf(GRAY,"%s",msg.c_str());break;
// case logINFO: cprintf(DARKGRAY BOLD,"%s",msg.c_str());break;
default: fprintf(pStream,"%s",msg.c_str()); break;
}
fflush(pStream);

View File

@ -50,7 +50,7 @@ int main(int argc, char *argv[]) {
//Catch signal SIGINT to close files properly
signal(SIGINT,closeFile);
system("setterm -background white");
//system("setterm -linux term -background white -clear");
int ret = slsReceiverDefs::OK;
receiver = new slsReceiverUsers(argc, argv, ret);