Ignore:
Timestamp:
Apr 22, 2010, 11:06:55 AM (15 years ago)
Author:
Pieter Naber
Message:

Handover documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/inc/KMLFile.class.php

    r7788 r7858  
    197197                        // Looking for "location" of the node
    198198                        if (!$location = $this->findInLocationFile($file, 'location = ', $nodes[0][$i][1])) {
    199                                 trigger_log(SYSLOG_WARNING, 'Could not find the "location" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
     199                                trigger_log(SYSLOG_ERROR, 'Could not find the "location" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
    200200                                continue;
    201201                        }
    202202                        // Looking for "status" of the node
    203203                        if (!$status = $this->findInLocationFile($file, 'status = ', $nodes[0][$i][1])) {
    204                                 trigger_log(SYSLOG_WARNING, 'Could not find the "status" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
     204                                trigger_log(SYSLOG_ERROR, 'Could not find the "status" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
    205205                                continue;
    206206                        }
    207207                        // Looking for "latitude" of the node
    208208                        if (!$latitude = $this->findInLocationFile($file, 'latitude = ', $nodes[0][$i][1])) {
    209                                 trigger_log(SYSLOG_WARNING, 'Could not find the "latitude" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
     209                                trigger_log(SYSLOG_ERROR, 'Could not find the "latitude" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
    210210                                continue;
    211211                        }
    212212                        // Looking for "longitude" of the node
    213213                        if (!$longitude = $this->findInLocationFile($file, 'longitude = ', $nodes[0][$i][1])) {
    214                                 trigger_log(SYSLOG_WARNING, 'Could not find the "longitude" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
     214                                trigger_log(SYSLOG_ERROR, 'Could not find the "longitude" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
    215215                                continue;
    216216                        }
    217217                        // Looking for "interfaces" of the node
    218218                        if (!$interfaces = $this->findInLocationFile($file, 'interfaces = ', $nodes[0][$i][1])) {
    219                                 trigger_log(SYSLOG_WARNING, 'Could not find the "interfaces" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
     219                                trigger_log(SYSLOG_ERROR, 'Could not find the "interfaces" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
    220220                                continue;
    221221                        }
    222222                        // Looking for "masterip" of the node
    223223                        if (!$masterip = $this->findInLocationFile($file, 'masterip = ', $nodes[0][$i][1])) {
    224                                 trigger_log(SYSLOG_WARNING, 'Could not find the "masterip" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
     224                                trigger_log(SYSLOG_ERROR, 'Could not find the "masterip" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
    225225                                continue;
    226226                        }
    227227                        // Looking for "nodetype" of the node
    228228                        if (!$nodetype = $this->findInLocationFile($file, 'nodetype = ', $nodes[0][$i][1])) {
    229                                 trigger_log(SYSLOG_WARNING, 'Could not find the "nodetype" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
     229                                trigger_log(SYSLOG_ERROR, 'Could not find the "nodetype" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
    230230                                continue;
    231231                        }
    232232                        // Looking for "name" of the node
    233233                        if (!$name = $this->findInLocationFile($file, 'name = ', $nodes[0][$i][1])) {
    234                                 trigger_log(SYSLOG_WARNING, 'Could not find the "name" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
     234                                trigger_log(SYSLOG_ERROR, 'Could not find the "name" of node "' . $i . '", skipping to next', __FILE__, __LINE__);
    235235                                continue;
    236236                        }
Note: See TracChangeset for help on using the changeset viewer.