Changeset e6f21ea


Ignore:
Timestamp:
Aug 5, 2017, 11:21:53 PM (7 years ago)
Author:
Jason Gross <jasongross9@gmail.com>
Branches:
master
Children:
9d6e37c
Parents:
77beb3c
git-author:
Jason Gross <jgross@mit.edu> (07/08/13 21:38:52)
git-committer:
Jason Gross <jasongross9@gmail.com> (08/05/17 23:21:53)
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

    r77beb3c re6f21ea  
    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.