Module: nagvis
Branch: master
Commit: 780fe99375da5b05df6fe21a8ddd28b10d01442b
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=780fe99375da5b05df6fe21a8ddd28b10d01442b

Author: Lars Michelsen <[email protected]>
Date:   Tue Aug  3 01:16:26 2010 +0200

Fixed small js logging issues

---

 share/frontend/nagvis-js/js/frontend.js         |    4 ++--
 share/frontend/nagvis-js/js/frontendEventlog.js |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/share/frontend/nagvis-js/js/frontend.js 
b/share/frontend/nagvis-js/js/frontend.js
index b9ba3b6..7dcde6a 100644
--- a/share/frontend/nagvis-js/js/frontend.js
+++ b/share/frontend/nagvis-js/js/frontend.js
@@ -1848,11 +1848,11 @@ function workerInitialize(iCount, sType, sIdentifier) {
                parseHoverMenus(aMapObjects);
                
                // Bulk get all context templates which are needed on the 
overview page
-               eventlog("worker", "aMapObjects", "Fetching context templates");
+               eventlog("worker", "debug", "Fetching context templates");
                getContextTemplates(aMapObjects);
                
                // Assign the context templates to the objects and parse them
-               eventlog("worker", "info", "Parse context menus");
+               eventlog("worker", "debug", "Parse context menus");
                parseContextMenus(aMapObjects);
                
                eventlog("worker", "info", "Finished parsing overview");
diff --git a/share/frontend/nagvis-js/js/frontendEventlog.js 
b/share/frontend/nagvis-js/js/frontendEventlog.js
index d3f6237..34baf63 100644
--- a/share/frontend/nagvis-js/js/frontendEventlog.js
+++ b/share/frontend/nagvis-js/js/frontendEventlog.js
@@ -119,7 +119,7 @@ function eventlog(sComponent, sSeverity, sText) {
                        eventlog('eventlog', 'error', 'Unknown severity used, 
skipping: '+sSeverity+' '+sComponent+': '+sText)
                        oEventlog = null;
                }
-               
+
                if(oSeverity[sSeverity] <= 
oSeverity[oPageProperties.event_log_level]) {
                        // When the message limit is reached truncate the first 
log entry
                        // 24 lines is the current limit


------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to