Skip to content
Snippets Groups Projects
Commit d2aae07c authored by Ruud Overeem's avatar Ruud Overeem
Browse files

Bug 1000: Fixed bug in LogProcessor due to basename patch and a missing ':' in StationControl.

parent fb204011
No related branches found
No related tags found
No related merge requests found
...@@ -254,7 +254,7 @@ GCFEvent::TResult LogProcessor::operational(GCFEvent& event, ...@@ -254,7 +254,7 @@ GCFEvent::TResult LogProcessor::operational(GCFEvent& event,
getLogLevelManager().toString(l4cpLogEvent.getLogLevel()).c_str(), getLogLevelManager().toString(l4cpLogEvent.getLogLevel()).c_str(),
l4cpLogEvent.getLoggerName().c_str(), l4cpLogEvent.getLoggerName().c_str(),
l4cpLogEvent.getMessage().c_str(), l4cpLogEvent.getMessage().c_str(),
basename(l4cpLogEvent.getFile().c_str()), basename(l4cpLogEvent.getFile()).c_str(),
l4cpLogEvent.getLine())); l4cpLogEvent.getLine()));
#if 0 #if 0
......
...@@ -48,7 +48,7 @@ int main(int argc, char* argv[]) ...@@ -48,7 +48,7 @@ int main(int argc, char* argv[])
string myName; string myName;
if (argc < 2) { // started by swlevel? if (argc < 2) { // started by swlevel?
myName = myHostname(false) + basename(argv[0]); myName = myHostname(false) + ":" + basename(argv[0]);
} }
else { else {
myName = argv[1]; myName = argv[1];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment