It can be more than good to allow BBwin to act like BBnt and accept to parse external file (put in TMPDIR) with such format : hostname:color date time message
actually BBwin can send msg to BB/hobbit with only one hostname (the server who run BBwin)
Here is a suggestion of change made into externals.cpp file (line 58)
statusLine.erase(0, pos); //check if it's only color or hostname:color pos = color.find_first_of(":"); if(pos > 0 && pos < color.length()) { hostName = color.substr(0, pos); color.erase(0, pos+1); } else { hostName = m_mgr.GetSetting("hostname"); }
and of course this line : // check the validity of the line reportData << " " << hostName << "." << reportName << " ";
i let you see if it's correct or not (it work for me)
Log in to post a comment.
Here is a suggestion of change made into externals.cpp file (line 58)
statusLine.erase(0, pos);
//check if it's only color or hostname:color
pos = color.find_first_of(":");
if(pos > 0 && pos < color.length()) {
hostName = color.substr(0, pos);
color.erase(0, pos+1);
}
else
{
hostName = m_mgr.GetSetting("hostname");
}
and of course this line :
// check the validity of the line
reportData << " " << hostName << "." << reportName << " ";
i let you see if it's correct or not (it work for me)