- Timestamp:
- Dec 17, 2005 7:43:47 AM (18 years ago)
- Location:
- trunk/lib
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Auth_SQL.inc.php
r39 r40 312 312 // Return user data if found. 313 313 if ($user_data = mysql_fetch_assoc($qid)) { 314 App::logMsg(sprintf('Authentication successful for %s %s (%s)', $this->_auth, $user_data['user_id'], $username), LOG_ DEBUG, __FILE__, __LINE__);314 App::logMsg(sprintf('Authentication successful for %s %s (%s)', $this->_auth, $user_data['user_id'], $username), LOG_INFO, __FILE__, __LINE__); 315 315 return $user_data; 316 316 } else { -
trunk/lib/Email.inc.php
r39 r40 25 25 App::raiseMsg(sprintf(_("A confirmation email has been sent to %s."), $frm['email']), MSG_SUCCESS, __FILE__, __LINE__); 26 26 } else { 27 App::logMsg(sprintf('Error sending confirmation email to address %s', $frm['email']), LOG_ DEBUG, __FILE__, __LINE__);27 App::logMsg(sprintf('Error sending confirmation email to address %s', $frm['email']), LOG_NOTICE, __FILE__, __LINE__); 28 28 } 29 29 ------------------------------------------------------------------------------------- … … 316 316 return true; 317 317 } else { 318 App::logMsg(sprintf('Invalid email: %s', $email), LOG_ DEBUG, __FILE__, __LINE__);318 App::logMsg(sprintf('Invalid email: %s', $email), LOG_INFO, __FILE__, __LINE__); 319 319 return false; 320 320 } -
trunk/lib/FormValidator.inc.php
r39 r40 419 419 if (ip2long($domain) == '-1' && function_exists('checkdnsrr') && !checkdnsrr($domain . '.', 'MX') && gethostbyname($domain) == $domain) { 420 420 $this->addError($form_name, sprintf(_("<strong>%s</strong> is not a valid email domain name"), oTxt($domain))); 421 App::logMsg(sprintf('The email address %s contains an invalid email domain name (%s).', getFormData($form_name), $domain), LOG_ DEBUG, __FILE__, __LINE__);421 App::logMsg(sprintf('The email address %s contains an invalid email domain name (%s).', getFormData($form_name), $domain), LOG_INFO, __FILE__, __LINE__); 422 422 return false; 423 423 } -
trunk/lib/PageNumbers.inc.php
r39 r40 138 138 { 139 139 if (!$this->set_per_page_initialized) { 140 App::logMsg(sprintf('set_per_page not initialized'), LOG_ DEBUG, __FILE__, __LINE__);140 App::logMsg(sprintf('set_per_page not initialized'), LOG_ERR, __FILE__, __LINE__); 141 141 } 142 142 if (!$this->set_page_number_initialized) { 143 App::logMsg(sprintf('set_page_number not initialized'), LOG_ DEBUG, __FILE__, __LINE__);143 App::logMsg(sprintf('set_page_number not initialized'), LOG_ERR, __FILE__, __LINE__); 144 144 } 145 145 if (!$this->set_total_items_initialized) { 146 App::logMsg(sprintf('set_total_items not initialized'), LOG_ DEBUG, __FILE__, __LINE__);146 App::logMsg(sprintf('set_total_items not initialized'), LOG_ERR, __FILE__, __LINE__); 147 147 } 148 148 -
trunk/lib/SpellCheck.inc.php
r39 r40 189 189 return true; 190 190 } else { 191 App::logMsg(sprintf('Failed adding "%s" to personal wordlist: %s', $word, $this->getParam('personal_wordlist')), LOG_ ERR, __FILE__, __LINE__);191 App::logMsg(sprintf('Failed adding "%s" to personal wordlist: %s', $word, $this->getParam('personal_wordlist')), LOG_WARNING, __FILE__, __LINE__); 192 192 return false; 193 193 } … … 212 212 return true; 213 213 } else { 214 App::logMsg(sprintf('Failed saving personal wordlist: %s', $this->getParam('personal_wordlist')), LOG_ DEBUG, __FILE__, __LINE__);214 App::logMsg(sprintf('Failed saving personal wordlist: %s', $this->getParam('personal_wordlist')), LOG_ERR, __FILE__, __LINE__); 215 215 return false; 216 216 } -
trunk/lib/TemplateGlue.inc.php
r39 r40 72 72 return $enum[1]; 73 73 } else { 74 App::logMsg(sprintf('No set or enum fields found.', null), LOG_ DEBUG, __FILE__, __LINE__);74 App::logMsg(sprintf('No set or enum fields found.', null), LOG_ERR, __FILE__, __LINE__); 75 75 return false; 76 76 } -
trunk/lib/Upload.inc.php
r39 r40 443 443 if (move_uploaded_file($files['tmp_name'][$i], $file_path_name)) { 444 444 chmod($file_path_name, $this->getParam('dest_file_perms')); 445 App::logMsg(sprintf('File uploaded: %s', $file_path_name), LOG_INFO, __FILE__, __LINE__); 445 446 $this->raiseMsg(sprintf(_("The file <strong>%s</strong> uploaded successfully."), $file_name), MSG_SUCCESS, __FILE__, __LINE__); 446 447 if (!isset($custom_file_name) && $files['name'][$i] != $file_name) { … … 487 488 return false; 488 489 } else if (unlink($file_path_name)) { 489 App::logMsg(sprintf('Deleted file: %s', $file_path_name), LOG_ DEBUG, __FILE__, __LINE__);490 App::logMsg(sprintf('Deleted file: %s', $file_path_name), LOG_INFO, __FILE__, __LINE__); 490 491 } else { 491 492 $this->raiseMsg(sprintf(_("The file <strong>%s</strong> could not be deleted."), $file_name), MSG_ERR, __FILE__, __LINE__);
Note: See TracChangeset
for help on using the changeset viewer.