Changeset 4163


Ignore:
Timestamp:
12/19/10 20:44:45 (12 years ago)
Author:
alno
Message:

Add logmessage if debuglevel is switched from monitor or webif

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-monitor.c

    r4162 r4163  
    492492
    493493static void monitor_set_debuglevel(char *flag){
    494     if (flag)
     494    if (flag) {
    495495        cs_dblevel = atoi(flag);
     496        cs_log("%s debug_level=%d", "all", cs_dblevel);
     497    }
    496498}
    497499
  • trunk/oscam-http.c

    r4160 r4163  
    18331833
    18341834    char *debuglvl = getParam(params, "debug");
    1835     if(strlen(debuglvl) > 0)
     1835    if(strlen(debuglvl) > 0) {
    18361836        cs_dblevel = atoi(debuglvl);
     1837        cs_log("%s debug_level=%d", "all", cs_dblevel);
     1838    }
    18371839
    18381840    if(getParamDef(params, "hide", NULL)) {
Note: See TracChangeset for help on using the changeset viewer.