--- a/src/core/log.cc Mon Apr 14 12:21:24 2008 -0700
+++ b/src/core/log.cc Mon Apr 14 16:39:26 2008 -0700
@@ -67,7 +67,7 @@
std::string::size_type next = 0;
while (next != std::string::npos)
{
- next = env.find_first_of (";", cur);
+ next = env.find_first_of (":", cur);
std::string tmp = std::string (env, cur, next-cur);
if (tmp == "print-list")
{
@@ -115,7 +115,7 @@
std::string::size_type next = 0;
while (next != std::string::npos)
{
- next = env.find_first_of (";", cur);
+ next = env.find_first_of (":", cur);
std::string tmp = std::string (env, cur, next-cur);
std::string::size_type equal = tmp.find ("=");
std::string component;
@@ -124,7 +124,8 @@
component = tmp;
if (component == myName || component == "*")
{
- Enable (LOG_DEBUG);
+ int level = LOG_ALL | LOG_PREFIX_TIME | LOG_PREFIX_FUNC;
+ Enable ((enum LogLevel)level);
return;
}
}