Changeset 431 for trunk


Ignore:
Timestamp:
07/16/10 15:56:36 (14 years ago)
Author:
Kris Deugau
Message:

/trunk

Make sure all syslog-using scripts pick up the global logging
facility instead of hardcoding local2. See #17.

Location:
trunk/cgi-bin
Files:
4 edited

Legend:

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

    r426 r431  
    2828use MyIPDB;
    2929
    30 openlog "IPDB-admin","pid","local2";
     30openlog "IPDB-admin","pid","$IPDB::syslog_facility";
    3131
    3232# Collect the username from HTTP auth.  If undefined, we're in a test environment.
  • trunk/cgi-bin/allocate.pl

    r417 r431  
    2121use MyIPDB;
    2222
    23 openlog "IPDBshell","pid","local2";
     23openlog "IPDBshell","pid","$IPDB::syslog_facility";
    2424
    2525# Collect the username from the environment.  If undefined, something
  • trunk/cgi-bin/main.cgi

    r426 r431  
    2525use MyIPDB;
    2626
    27 openlog "IPDB","pid","local2";
     27openlog "IPDB","pid","$IPDB::syslog_facility";
    2828
    2929# Collect the username from HTTP auth.  If undefined, we're in
  • trunk/cgi-bin/newcity.cgi

    r417 r431  
    2525use MyIPDB;
    2626
    27 openlog "IPDB","pid","local2";
     27openlog "IPDB","pid","$IPDB::syslog_facility";
    2828
    2929# Collect the username from HTTP auth.  If undefined, we're in a test environment.
Note: See TracChangeset for help on using the changeset viewer.