Changeset 835 for trunk


Ignore:
Timestamp:
04/11/16 16:57:46 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

Porting debug logging from production tweak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/main.cgi

    r834 r835  
    806806        if $webvar{userid};
    807807
     808  syslog "debug", "billinguser used ($authuser): alloc_from $alloc_from, type $webvar{alloctype}" if $webvar{userid};
     809
    808810##fixme:  this is only needed iff confirm.tmpl and
    809811# confirmRemove.tmpl are merged (quite possible, just
     
    907909        $page->param(masklen => $netblock->masklen);
    908910      }
     911      syslog "debug", "billinguser used ($authuser): allocated $netblock, type $webvar{alloctype}" if $webvar{billinguser};
    909912      mailNotify($ip_dbh, "a$webvar{alloctype}", "ADDED: $disp_alloctypes{$webvar{alloctype}} allocation",
    910913        "$disp_alloctypes{$webvar{alloctype}} $webvar{fullcidr} allocated to customer $webvar{custid}\n".
Note: See TracChangeset for help on using the changeset viewer.