ACK not tested
-AVM
On 2/21/2017 10:49 PM, Anders Widell wrote:
> src/dtm/transport/log_writer.cc | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
>
> Use a ".1" file name extension for the MDS log backup file. This aligns with
> the
> naming convention used for log rotation of other log files under /var/log, and
> opens up the possibility for a future enhancement where we can support more
> than
> one single backup file.
>
> diff --git a/src/dtm/transport/log_writer.cc b/src/dtm/transport/log_writer.cc
> --- a/src/dtm/transport/log_writer.cc
> +++ b/src/dtm/transport/log_writer.cc
> @@ -28,7 +28,7 @@
> LogWriter::LogWriter()
> : mds_log_file_{base::GetEnv<std::string>("pkglogdir", PKGLOGDIR)
> + "/mds.log"},
> - old_mds_log_file_{mds_log_file_ + ".old"},
> + old_mds_log_file_{mds_log_file_ + ".1"},
> fd_{-1},
> current_file_size_{0},
> current_buffer_size_{0},
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel