Changeset 09a3afc


Ignore:
Timestamp:
Feb 12, 2014, 3:05:20 PM (8 years ago)
Author:
Jason Gross <jgross@mit.edu>
Children:
4772817
Parents:
71085f0
git-author:
Jason Gross <jgross@mit.edu> (07/08/13 21:38:52)
git-committer:
Jason Gross <jgross@mit.edu> (02/12/14 15:05:20)
Message:
Add ETIMEDOUT to the list of errors for defer_logs

This is for AFS blips
File:
1 edited

Legend:

Unmodified
Added
Removed
  • logging.c

    r71085f0 r09a3afc  
    221221/* If we are deferring log messages, enqueue this entry for writing.
    222222 * Otherwise, try to write this log message, and, if it fails with
    223  * EPERM or EACCES, go into deferred logging mode and queue an admin
    224  * message.  If it fails with anything else, display an error message,
    225  * but do not go into deferred logging mode. */
     223 * EPERM, EACCES, or ETIMEDOUT, go into deferred logging mode and
     224 * queue an admin message.  If it fails with anything else, display an
     225 * error message, but do not go into deferred logging mode. */
    226226static void owl_log_eventually_write_entry(gpointer data)
    227227{
     
    232232  } else {
    233233    ret = owl_log_try_write_entry(msg);
    234     if (ret == EPERM || ret == EACCES) {
     234    if (ret == EPERM || ret == EACCES || ret == ETIMEDOUT) {
    235235      defer_logs = true;
    236236      owl_log_error("Unable to open file for logging (%s): \n"
Note: See TracChangeset for help on using the changeset viewer.