summaryrefslogtreecommitdiffstats
path: root/src/Logging.cpp
diff options
context:
space:
mode:
authorDaniel M. Pelt <D.M.Pelt@cwi.nl>2015-03-13 17:22:41 +0100
committerDaniel M. Pelt <D.M.Pelt@cwi.nl>2015-03-13 17:26:35 +0100
commit35fadf8641b05d357a37e8098b9a801ba0e815b9 (patch)
tree941eb461bb05065ce2dfcbf3dc423b19748d17ed /src/Logging.cpp
parentf21700e00e81538d5510973a51b8ae97fb4a24dd (diff)
downloadastra-35fadf8641b05d357a37e8098b9a801ba0e815b9.tar.gz
astra-35fadf8641b05d357a37e8098b9a801ba0e815b9.tar.bz2
astra-35fadf8641b05d357a37e8098b9a801ba0e815b9.tar.xz
astra-35fadf8641b05d357a37e8098b9a801ba0e815b9.zip
Use a less verbose default fmt for screen logging and cleaner messages
Diffstat (limited to 'src/Logging.cpp')
-rw-r--r--src/Logging.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Logging.cpp b/src/Logging.cpp
index 9d7c219..f95df0e 100644
--- a/src/Logging.cpp
+++ b/src/Logging.cpp
@@ -146,6 +146,7 @@ void CLogger::_assureIsInitialized()
{
clog_init_fd(0, 2);
clog_set_level(0, CLOG_INFO);
+ clog_set_fmt(0, "%l: %m\n");
m_bInitialized = true;
}
}