- **Type**: defect --> enhancement
---
** [tickets:#781] LOG: Current file size is not set to 0 if creation of new log
file fail**
**Status:** unassigned
**Milestone:** future
**Created:** Thu Feb 13, 2014 02:54 PM UTC by elunlen
**Last Updated:** Thu Feb 13, 2014 02:54 PM UTC
**Owner:** elunlen
When logFileCurrent (contains filename for current log file) is changed
curFileSize must be set to 0. In current code this is done after the new
current log file is created. If the creation fails the function returns without
setting curFileSize to 0. This means that when the file is created later
curFileSize will indicate that the file is full and a new log rotation will be
done.
I have set this ticket as minor since this is unlikely to happen. It may happen
if the file system is not working correctly and if that's the case the previous
close most likely fails before this happen. Also the worst case is that an
empty log file is created that will live until it is rotated out.
---
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.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets