| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1751050 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1735450 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
running and changed test7 to execute 4, 5 and 6 and simulate a non empty directory that way. The tests now pass using empty and non empty directory and I hope to not have totally wasted my time... :-( But all other tests worked with and without empty directory, so I hope my changes have some purpose.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707820 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
thought, if needed at all. The tests still pass with an empty directory.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707807 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707806 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
completely wrong track.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707805 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
a new line and is better readable.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707781 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707780 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
first rollover is done on the second log statement, which is only issued after some sleeping time. The problem is that the first file name to check for is created using "now" and that could have easily past if the second statement is issued. If the first file name is created with that in mind one second in the future, the first log statement can consume the current second of "now" including the sleep and still the first file will be found successfully, because it is expected to be created with the next second.
I've added a waitFactor to logMsgAndSleep, because I think at least for test6 we need to make sure that each subsequent file is created in the next second, because that's how we build the file names: One second each. If we sleep in the logging only for half a second, two we may have two log statements within the same second resulting in another missing file. Interestingly, during my tests that didn't seem to make any difference...
Additionally I've created test7 repeatly calling test6, because during my tests test6 succeeded even without my changes sometimes, but not always. With the changes it seems to succeed always.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707768 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
tests like before fail now, so I shouldn't have broken too much.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707759 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
isn't compared to other source files and my IDE is configured to use tabs and I brought them in in the last commit already. But that shouldn't be a problem because it's easier to change form tabs to spaces again than the other way around, if some parts use indentation 8, other 2 and most of the other files something around 4 and 8.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707718 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
tests seem to produce file names in the same way, log some messages and most of them check results using file content comparison. The test still succeeds and I formerly got an access violation in fprintf if not all tests succeeded, which is gone now as well.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707714 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
because I don't see why only some should print the msg, while others don't.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707679 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707678 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
be needed in the future it shoudl be implemented calling delayUnitNextSecond.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707676 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707615 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
that in this file everythign should have been OK before already because apr_strings.h was included before INT64C was checked. But now the code should look more clearly.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707614 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
detect/define WIN32 on it's own an WIn32 users don'T need to manually anymore.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1707552 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also,
LOGCXX-446: make install fails, trying to overwrite header files
Many Makefile.am files spread throughout the source tree used wildcards. This
is invalid, as discussed at
https://www.gnu.org/software/automake/manual/html_node/Wildcards.html. The use
of wildcards was problematic for VPATH builds, in particular there was one
Makefile.am which included srcdir and builddir headers twice. Correcting it to
install only the builddir log4cxx.h and the remaining headers from srcdir/*.h
addresses LOGCXX-446.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1644820 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1569635 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
and added another tests for LOGCXX-420. There's some debug output in there which need to get removed later, but for now I need some help in defining the correct behavior and want others to be able to test themselves.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1569535 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
codebase, additionally to the problem with the exceptions. The reason for the exceptions were negativ indices, the calculations for offsets in the magicString introduced in LOGCXX-420 were wrong because the magicString is always 3 chars only.
This and the failing added test for LOGCXX-420 has been fixed, but test 17 of cacheddateformattestcase.cpp is failing now. I will have a look into this afterwards.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1569322 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Accidentally nuked these in the prior commit. Sorry.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1567531 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Done towards chasing down cacheddateformattestcase problems.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1567530 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1567526 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
r1566619 updated logger.h to make LOG4CXX_INFO and friends
proper statements using the common do { stuff } while (0) idiom.
There were many places within the 'make' and 'make check' targets
that needed to be updated now that the macros behave like statements.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1567525 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
after APR termination
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1566613 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1566349 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
Minor changes to Autoconf/Automake artifacts so that
libtoolize: (GNU libtool) 2.4.2
automake: automake (GNU automake) 1.12.5
autoconf: autoconf (GNU Autoconf) 2.69
give a clean bill of health when running ./autogen.sh.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1562810 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Borland Builder.
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1561536 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: http://svn.apache.org/repos/asf/incubator/log4cxx/trunk@1554831 13f79535-47bb-0310-9956-ffa450edef68
|