2013-02-21 Ramon Novoa <rnovoa@artica.es>

* modules/pandora_module_logevent.cc: Add the timestamp to the log.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7694 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2013-02-21 10:18:13 +00:00
parent 37e3942273
commit 831409807e
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-02-21 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: Add the timestamp to the log.
2013-02-20 Ramon Novoa <rnovoa@artica.es> 2013-02-20 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: Retrieve extra event information * modules/pandora_module_logevent.cc: Retrieve extra event information

View File

@ -266,6 +266,11 @@ Pandora_Module_Logevent::getLogEvents (list<string> &event_list, unsigned char d
// Print additional information for log modules // Print additional information for log modules
if (this->getModuleType() == TYPE_LOG) { if (this->getModuleType() == TYPE_LOG) {
// Add the timestamp to the log (the previous timestamp will be stripped)
event << "[Timestamp: ";
event << timestamp;
event << "]";
// Retrieve the event id // Retrieve the event id
event << "[ID: "; event << "[ID: ";