Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8864: Problem with log file rotation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-22 01:09:56
#8864: Problem with log file rotation
-------------------------------+---------------------
Reporter: lcarreon@⦠| Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------
Comment (by lcarreon@â¦):
Here is a list of the created log files based on a single run of my test
program using the above-mentioned configuration.
-rw-rw----. 1 dev11 dev 973 Jul 22 10:21 20130722_102108.log
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00000
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00001
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00002
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00003
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00004
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00005
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00006
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00007
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00008
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00009
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00010
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00011
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00012
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00013
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00014
-rw-rw----. 1 dev11 dev 139 Jul 22 10:21 20130722_102108.log00015
Each log record contains the following 139-byte message where only the
timestamp is changing:
2013-07-22 10:36:05.118868 [warning]
test_library:000000x9f3:0x00007f7d21cf5740 (src/ctag.cpp, 823) Unknown
frame 'UNKN' has been detected
The size of the first log file is correct based on the rotation size of
1024 bytes. I also noticed that due to the speed of the logging, the same
log file name is used. The other issue is that the succeeding log files
are smaller than expected. Finally, I'm expecting only 8 log records but
I'm seeing 22 log records spread in 16 log files.
I tried changing the filename template to "log/log.log" but is still
giving me the same result where only the log file names changed.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8864#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC