more cleanup

This commit is contained in:
CodeCodon
2015-08-09 01:59:51 -05:00
parent 511fb7ae64
commit 8f57621896
4 changed files with 216 additions and 228 deletions
@@ -46,16 +46,8 @@ LogObserver * LoggingServerApiObserver::create(const std::string &)
void LoggingServerApiObserver::log(const LogMessage & msg)
{
const char * procId = "\0";
const char * channel = "\0";
std::string fileName = "misc.txt";
if(!msg.getProcId().empty())
procId = msg.getProcId().c_str();
if(! msg.getChannel().empty())
channel = msg.getChannel().c_str();
std::string msgText;
if(! msg.getText().empty())