Commit 03d3099f authored by Pavel Vainerman's avatar Pavel Vainerman

Исправил ошибку с выводом логов в ulog вместо dlog

parent 8dad171a
......@@ -44,19 +44,19 @@ int main(int argc, const char **argv)
}
catch( SystemError& err )
{
ulog.crit() << "(smemory): " << err << endl;
dlog.crit() << "(smemory): " << err << endl;
}
catch( Exception& ex )
{
ulog.crit() << "(smemory): " << ex << endl;
dlog.crit() << "(smemory): " << ex << endl;
}
catch( std::exception& e )
{
ulog.crit() << "(smemory): " << e.what() << endl;
dlog.crit() << "(smemory): " << e.what() << endl;
}
catch(...)
{
ulog.crit() << "(smemory): catch(...)" << endl;
dlog.crit() << "(smemory): catch(...)" << endl;
}
return 1;
......
......@@ -58,15 +58,15 @@ int main(int argc, const char **argv)
}
catch(SystemError& err)
{
ulog.crit() << "(uninetwork): " << err << endl;
dlog.crit() << "(uninetwork): " << err << endl;
}
catch(Exception& ex)
{
ulog.crit() << "(uninetwork): " << ex << endl;
dlog.crit() << "(uninetwork): " << ex << endl;
}
catch(...)
{
ulog.crit() << "(uninetwork): catch(...)" << endl;
dlog.crit() << "(uninetwork): catch(...)" << endl;
}
while( waitpid(-1, 0, 0) > 0 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment