- Description has changed:

Diff:

~~~~

--- old
+++ new
@@ -1,4 +1,3 @@
-
 In lgs_stream.c:
 
                         /* Close the log file */

~~~~

- **status**: unassigned --> accepted
- **assigned_to**: elunlen



---

** [tickets:#1129] LOG: Incorrect syslog if fail to close files when closing 
log stream**

**Status:** accepted
**Milestone:** 4.6.FC
**Created:** Tue Sep 23, 2014 11:02 AM UTC by elunlen
**Last Updated:** Tue Nov 11, 2014 06:57 AM UTC
**Owner:** elunlen

In lgs_stream.c:

                        /* Close the log file */
                        rc = fileclose_h(*stream->p_fd);
                        *stream->p_fd = -1;
                        if (rc == -1) {
                                LOG_ER("Could not close log files: %s", 
strerror(errno));
                                goto done_files;
                        }

This syslog incorrectly logs strerror(errno) which is wrong since errno is 
irrelevant if fileclose_h() fails because of timeout or busy.




---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to