diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-01-24 20:49:34 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-01-24 20:49:34 +0000 |
commit | d255e703145c33c17ef3cb50029b540b4d17fbf3 (patch) | |
tree | 64691ee26894c80cac6b6dc26a49df27b57c69bf /include/functions.c | |
parent | baf2ac1227d0bdeeaf269ba02de4a78230ba84a6 (diff) | |
download | zabbix-d255e703145c33c17ef3cb50029b540b4d17fbf3.tar.gz zabbix-d255e703145c33c17ef3cb50029b540b4d17fbf3.tar.xz zabbix-d255e703145c33c17ef3cb50029b540b4d17fbf3.zip |
Small cleanup.
git-svn-id: svn://svn.zabbix.com/trunk@1629 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include/functions.c')
-rw-r--r-- | include/functions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.c b/include/functions.c index 541eec5e..7233b880 100644 --- a/include/functions.c +++ b/include/functions.c @@ -1494,6 +1494,7 @@ void apply_actions(DB_TRIGGER *trigger,int trigger_value) int i,j; int now; + zabbix_set_log_level(LOG_LEVEL_DEBUG); zabbix_log( LOG_LEVEL_DEBUG, "In apply_actions(%d,%d)",trigger->triggerid, trigger_value); if(TRIGGER_VALUE_TRUE == trigger_value) @@ -1651,6 +1652,7 @@ void apply_actions(DB_TRIGGER *trigger,int trigger_value) } zabbix_log( LOG_LEVEL_DEBUG, "Actions applied for trigger %d %d", trigger->triggerid, trigger_value ); + zabbix_set_log_level(LOG_LEVEL_WARNING); DBfree_result(result); } |