1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230
|
This file describes the changes to the Log for C++ library. See the repository for more detailed descriptions.
2013-05-08 Scott Cantor <cantor.2@osu.edu>
* patch to PropertyConfiguratorImpl to prevent leak of root-attached Appenders
* bumped version to 1.0.6
2009-11-18 Scott Cantor <cantor.2@osu.edu>
* port over upstream fixes for vararg bug on x86_64 and other small bugs
2009-08-04 Scott Cantor <cantor.2@osu.edu>
* fix error handling when Appenders fail
* correct crash when file appender can't open file
2009-01-27 Scott Cantor <cantor.2@osu.edu>
* fixed some warnings
* added MSVC9 build files
* bumped version to 1.0.2
2007-07-29 Scott Cantor <cantor.2@osu.edu>
* converted Internet2-patched project to log4shib
2003-06-23 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/PatternLayout.cpp: added missing '%t' thread name specifier
(support request #753974)
2003-05-26 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* m4/ac_config_libconfig_in.m4: added version 0.5.52 from ac-archive.
* m4/ac_config_pkgconfig_in.m4: added version 0.5.52 from ac-archive.
2003-05-23 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/PropertyConfiguratorImpl.cpp: added support for configuring LocalSyslogAppenders.
2003-05-09 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* log4cpp.pc.in, configure.in, Makefile.am: added pkgconfig file.
* include/log4cpp/PropertyConfigurator.hh: ConversionPattern instead
of pattern (patch #692193).
* src/PatternLayout.cpp: fix bounds problem on logging messages
(bug #688715)
* tests/testPattern.cpp: added test for bug #688715.
* tests/Makefile.am: added testNTEventLog.cpp to EXTRA_DIST
(bug #718941)
2003-04-07 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* log4cpp.spec.in: added log4cpp.m4 to -devel package.
2003-03-26 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/StringUtil.cpp: added \r and \n to whitespace characters.
* src/Properties.cpp: trim property keys and values. Fixes
bug #710164.
* src/HierarchyMaintainer.cpp: don't create a default appender for
the root category. (bug #648341)
2003-03-23 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* doc/html/index.html: added link to SuSE RPMS built by Pascal Bleser.
2003-03-10 David Resnick <dresnick@mobilespear.com>
* include/log4cpp/NTEventLogAppender.hh, include/log4cpp/Portability.hh,
include/log4cpp/threading/BoostThreads.hh,
include/log4cpp/config-win32-stlport-boost.h, src/RollingFileAppender.cpp,
msvc6/log4cppDLL_stlport_boost/log4cppDLL_stlport_boost.dsp,
msvc6/log4cppDLL_stlport_boost/log4cppDLL_stlport_boost.rc,
msvc6/log4cppDLL_stlport_boost/readme.txt,
msvc6/msvc6.dsw: added build for MSVC that uses boost 1.28.0 and
STLport 4.5.3. See msvc6/log4cppDLL_stlport_boost/readme.txt for
more details.
* msvc6/testMain_stlport_boost/testMain_stlport_boost.dsp,
msvc6/testNDC_stlport_boost/testNDC_stlport_boost.dsp,
msvc6/testPropertyConfig_stlport_boost/testPropertyConfig_stlport_boost.dsp,
msvc6/testNTEventLog_stlport_boost/testNTEventLog_stlport_boost.dsp:
Project files that allow testing boost/stlport dll version.
* msvc6/log4cppDLL/log4cppDLL.rc: updated version number.
* include/log4cpp/PatternLayout.hh: doc fix.
* src/PortabilityImpl.hh: added abort to std:: namespace wrapping.
* include/log4cpp/config-win32.h: added definition for in_addr_t.
2003-03-05 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/RemoteSyslogAppender.hh,
src/RemoteSyslogAppender.cpp: use correct type for _ipAddr.
Pointed out by Andrew Morrow. Current fix most likely breaks
some platforms that don't define in_addr_t.
2003-02-21 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/AbortAppender.hh, src/AbortAppender.cpp: added
missing layout methods.
* src/PropertyConfiguratorImpl.cpp: added AbortAppender.
2003-01-06 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/RemoteSyslogAppender.cpp: fixed handling of large messages and
buffer deallocation in _append() as reported by Benety Goh.
2002-11-29 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* log4cpp.spec.in: install HTML documentation in
/var/www/html/manual/log4cpp.
2002-11-28 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/threading/PThreads.hh:
Fix Mutex copy bug (#645270) as suggested by Robert Ballarin.
2002-11-20 Aaron Ingram <ai8@yahoo.com>
* Priority.hh: added LOG4CPP_EXPORT to export Priority class from the
DLL (Win32 only)
2002-11-11 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* configure.in: corrected library version.
2002-11-09 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/AbortAppender.hh, src/AbortAppender.cpp: added.
2002-10-29 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Release as 0.3.4b
* include/log4cp/config-win32.h, src/PortabilityImpl.hh: added
workarounds for abs() and strftime() and localtime() not being
defined in std:: on MSVC6. See bug report #630334.
2002-10-28 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Release as 0.3.4.
* tests/testPattern.cpp: added missing 'std::'.
* src/StringUtil.hh, src/StringUtil.cpp: fixed signed-vs-unsigned
comparison warning. Let both trim() implementations return
unsigned int.
2002-10-27 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/OstringStream.hh, src/OstringStream.cpp: removed
* src/StringUtil.hh, src/StringUtil.cpp: added vform() method.
* PortabilityImpl.cpp: added.
* include/log4cpp/Appender.hh, include/log4cpp/HierachyMaintainer.hh,
include/log4cpp/Log4cppCleanup.hh, src/Appender.cpp,
src/HierrachyMaintainer.cpp, src/log4cppCleanup.cpp:
removed Log4cppCleanup, it was kinda broken anyway.
* msvc6/log4cpp/log4cpp.dsp, msvc6/log4cppDLL/log4cppDLL.dsp,
bcb5/log4cpp/log4cpp.bpf, bcb5/log4cpp/log4cpp.bpr,
bcb5/log4cpp/log4cpp.mak: added BasicConfigurator.
* src/PatternLayout.cpp: define static constant strings in
TimeStampComponent outside class declaration.
2002-10-26 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Release as 0.3.3.
* include/log4cpp/config-win32.h, src/PortabilityImpl.hh,
src/Makefile.am: worked around header definition bug in MSVC by
aliasing cstdlib/cstring functions in 'std::'. See #628211.
* src/NDC.cpp: added parentheses to return statement in _get() as
suggested by Derrick Hastings to fix #415160.
* include/log4cpp/PattenLayout.hh, src/PatternLayout.cpp: added
default conversion patterns.
* msvc6/log4cppDLL/Makefile.in: removed.
2002-10-19 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/PatternLayout.hh, src/PatternLayout.cpp:
replaced PatternLayout implementation: it now preparses the message
format for quicker layouting and implements format specifiers,
e.g. '%-5p'.
* tests/testPattern.cpp: added tests for format specifiers and more.
2002-10-10 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/threading/MSThreads.hh: added #include<string>
2002-10-05 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* log4cpp.spec.in: don't require log4cpp for log4cpp-doc.
* doc/Makefile.am: fix install location.
* Makefile.am: use 'rpmbuild' instead of 'rpm'.
2002-10-05 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* release as 0.3.2
* doc/html/index.html: added notes for 0.3.2 and 0.3.2rc5
* configure.in, msvc6/Makefile.am, msvc6/testDLL/Makefile.am,
msvc6/testMain/Makefile.am, msvc6/testNTEventLog/Makefile.am,
msvc6/testPattern/Makefile.am: added missing makefiles.
2002-09-26 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/StringUtil.hh: fix compilation problem on Sun CC 5.3
(bug #614903).
2002-09-18 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/RemoteSyslogAppender.cpp: fixed log facility in _append(), as
reported by Derek Atkins.
* src/PropertyConfiguratorImpl.cpp, src/SimpleConfigurator.cpp:
multiply syslog facility value by 8.
2002-09-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* log4cpp.spec.in: fix relocatability of log4cpp-devel by patching
lib/liblog4cpp.la and bin/log4cpp-config in %post. Unfortunately
this results in 'rpm --verify' reporting these files as modified.
2002-09-15 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* release as 0.3.25rc5
* include/threading/DummyThreads.hh, include/threading/MSThreads.hh,
include/threading/OmniThreads.hh, include/threading/Pthreads.hh,
src/DummyThreads.cpp, src/MSThreads.cpp, src/OmniThreads.cpp,
src/Pthreads.cpp: moved bodies of getThreadId() to .cpp files.
* src/Makefile.am, msvc6/log4cpp/log4cpp.dsp,
msvc6/log4cppDLL/log4cppDLL.dsp, bcb5/log4cpp/log4cpp.mak,
bcb5/log4cpp/log4cpp.bpr, bcb5/log4cpp/log4cpp.bpf: added *Threads.cpp
files
* configure.in, include/log4cpp/Appender.hh,
include/log4cpp/AppenderSkeleton.hh, m4/BB_CHECK_PTHREADS.m4,
m4/PETI_PEDANTIC_GCC.m4, src/FileAppender.cpp, src/Priority.cpp,
src/Properties.cpp, src/PropertyConfiguratorImpl.hh,
src/RemoteSyslogAppender.cpp,src/StringUtil.hh, tests/Clock.cpp,
tests/Clock.hh, tests/testConfig.cpp, tests/testPropertyConfig.cpp,
tests/testbench.cpp:
Merged patch #605143, contributed by Harald Wellman: support for
compilation in QNX Neutrino.
2002-09-05 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/PropertyConfiguratorImpl.cpp, tests/testConfig.log4cpp.properties:
Merged patch #604991, contributed by Richard Brodie: support for
setting additivity via properties file using
'log4j.addivity.<categoryname>=[true|false]'.
2002-08-16 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/threading/Makefile.am: added MSThreads.hh
2002-08-16 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Release as 0.3.2rc3
* src/SimpleConfigurator.cpp, src/PropertyConfiguratorImpl.cpp:
put #ifdef WIN32 around #include of NTEventLogAppender and
Win32DebugAppender.
* include/log4cpp/threading/PThreads.hh: use reinterpret_cast<>.
* tests/testProperties.cpp: add std::.
2002-08-14 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Release as 0.3.2rc2
* Makefile.am, include/log4cpp/Makefile.am, tests/Makefile.am:
added distclean-local targets.
* doc/Doxyfile.in: predefine 'WIN32' as suggested by David Resnick.
* include/log4cpp/NTEventLogAppender.hh,
include/log4cpp/Win32DebugAppender.hh: added warnings about platform
dependency.
2002-08-13 David Resnick <dresnick@mobilespear.com>
* include/log4cpp/PatternLayout.hh: documentation fixes.
2002-08-09 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* msvc6/log4cppDLL/log4cppDLL.rc: update version and product info.
* include/log4cpp/Portability.hh: added comments.
* src/Category.cpp: added lock to getAllAppenders().
* doc/html/index.html: more documentation updates.
* tests/testCategory.cpp, tests/testConfig.cpp, tests/testDLL.cpp,
tests/testFilter.cpp, tests/testPropConfig.cpp,
tests/testbench.cpp: Replaced #include "log4cpp/X" with
#include <log4cpp/X>
* tests/testProperties.cpp, tests/testPropertyConfig.cpp: added.
* configure.in, doc/Makefile.am, doc/html/Makefile.am: added doc/html
to automake.
2002-08-09 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/RollingFileAppender.hh: correct constness of
constructor parameters, as pointed out by James Emery.
2002-08-06 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* configure.ac, configure.in: renamed configure.ac back to
configure.in due to bug in libtoolize 1.4.2
* NEWS, README, INSTALL, doc/html/index.html: converted most
documentation to HTML.
* m4/CREATE_GENERIC_CONFIG.m4: fix log4cpp-config creation (use
PACKAGE_TARNAME instead of PACKAGE).
2002-08-06 David Resnick <dresnick@mobilespear.com>
* msvc6/log4cppDLL/log4cppDLL.rc: Cleanup.
* msvc6/log4cppDLL/resource.h deleted: Unnecessary.
2002-08-05 David Resnick <dresnick@mobilespear.com>
* msvc6/log4cppDLL/log4cppDLL.rc, msvc6/log4cppDLL/resource.h:
Version property sheet added to DLL.
2002-08-04 David Resnick <dresnick@mobilespear.com>
* src/PropertyConfiguratorImpl.cpp: added RollingFileAppender,
NTEventLogAppender. Threshold attrib added for appenders. Invalid
priority in configureCategory prints message of invalid_argument
exception.
* src/Priority.cpp: surrounding quotes added around invalid priority
in thrown invalid_argument exception.
* tests/testPropConfig.cpp, tests/log4cpp.property,
msvc6\testPropConfig\testPropConfig.dsp: test for PropertyConfigurator
added.
2002-08-02 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* doc/Makefile.am, doc/Doxyfile.in, doc/html/index.html,
doc/html/default.css: added new index page and move Doxygen generated
docs to api subdirectory.
2002-08-01 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/threading/PThreads.hh: added POSIX threads support
file contributed by Emiliano Martin.
* include/log4cpp/threading/Makefile.am,
include/log4cpp/threading/Threading.hh: add PThreads.hh
* configure.ac: added test for POSIX threads
* m4/BB_CHECK_PTHREADS.m4: added. Crude initial pthreads check. Need
to nick a good macro somewhere else :-)
* m4/BB_CHECK_OMNITHREADS.m4: added 'thread safity' defines, needed
at least for STL.
* THANKS: added Emiliano.
2002-07-30 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/TimeStatemp.hh: added some doxygen comments
* m4/AC_CREATE_PREFIX_CONFIG_H.m4: removed a debug print statement.
* src/PropertyConfgiruratorImpl.cpp: added 'append' property for
FileAppender.
* src/LoggingEvent.cpp: fill in the thread Id.
2002-07-22 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* configure.in, configure.ac: renamed configure.in to configure.ac.
* configure.ac, log4cpp.spec.in, doc/Doxyfile.in, doc/Makefile.am,
m4/AC_CREATE_PREFIX_CONFIG_H.m4, m4/AC_CXX_HAVE_SSTREAM.m4,
m4/AC_CXX_NAMESPACES.m4, m4/BB_CHECK_OMNITHREADS.m4:
updated AC macros and variables to autoconf 2.50.
* src/Priority.cpp: put names[] in anonymous namespace instead of
declaring it static. This should solve Solaris 8 dynamic library
problem (see patch #583905).
2002-07-11 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/PatternLayout.cpp: use std::string::size_type instead of int.
* src/PropertyConfiguratorImpl.cpp: use map.lower_bound() to determine
begin and end for appender and category properties.
2002-07-10 David Resnick <dresnick@mobilespear.com>
* src/PatternLayout.cpp, include/log4cpp/PatternLayout.hh,
tests/testPattern.cpp, msvc6/testPattern/testPattern.dsp: added support
for formatting date and testing that new support.
* tests/testDLL.cpp, msvc6/testDLL/testDLL.dsp: added project that
tests log4cpp DLL (on win32 platform), including export of container
object.
* msvc6/log4cpp/log4cpp.dsp, msvc6/log4cppDLL/log4cppDLL.dsp: fixed so
that PropertyConfigurator and attendant files are compiled in MSVC6.
2002-07-09 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/StringUtil.hh, src/StringUtil.cpp: added a more generic split()
method taking an output_iterator instead of a vector to store the
result.
* src/PropertyConfiguratorImpl.hh, src/PropertyConfiguratorImpl.cpp:
renamed addAppenders() to configureCategory().
fixed configureCategory(): had a nested loop for priorities and
appenders.
replaced find(property, '.') with StringUtil::split() in several
places.
* src/PropertyConfiguratorImpl.cpp: fixed configureCategory() fix.
2002-07-05 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/StringUtil.hh, src/StringUtil.cpp: added split() method.
* src/PropertyConfiguratorImpl.hh, src/PropertyConfiguratorImpl.hh:
changed the way configuration is done: first instantatiate all
Appenders defined in the config, then add them to Categories where
necessary. Multiple Appenders per Category are now supported.
Currently doConfigure() leaks all Appenders, as they will be not be
owned by any Categories. This will be fixed in the future by having
the LoggerRepository maintain ownership of all Categories, Appenders,
etc.
2002-07-04 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/BasicConfigurator.hh, src/BasicConfigurator.cpp:
added.
* src/Properties.hh, src/Properties.cpp: added Log4j style variable
substitution: ${NAME} will be substituted with environment variable
NAME or if not found with property NAME. '${${}' denotes a literal
'${' sequence.
2002-07-03 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/SyslogAppender.cpp (SysLogAppender()): accept '-1' for facility and portNumber,
implying the 'default value'.
* src/ConfiguratorSkeleton.cpp: changed property names to JavaBeans/log4j style.
Use the appender name as name (duh) instead of the 'name' property.
Don't set a layout if none have been specified.
Use std::string::size_type where applicable.
Made some exception messages clearer.
Compacted the code a bit.
* src/Properties.hh, src/Properties.cpp: added, moved
PropertyConfigurator::parseConfig() to load().
* src/PropertyConfiguratorImpl.hh, src/PropertyConfiguratorImpl.cpp:
added. This class is a merge of PropertyConfigurator and
ConfiguratorSkeleton. ConfiguratorSkeleton is not generic enough to
be exposed in the API.
* include/log4cpp/PropertyConfigurator.hh,
src/PropertyConfigurator.cpp: leave only 2 static configure() methods,
like SimpleConfigurator. The actual implementation is now in
PropertyConfiguratorImpl.
* include/log4cpp/ConfiguratorSkeleton.hh,
src/ConfiguratorSkeleton.cpp: removed.
* src/StringUtil.hh, src/StringUtil.cpp: added, contains
ConfiguratorSkeleton::trim().
* src/RollingFileAppender.cpp: fix signed/unsigned comparison warning.
* m4/PETI_PEDANTIC_GCC.m4: remove -pedantic flag for g++ 2.96 to
get rid of those iritating warnings about std IOstreams code.
* src/TimeStamp.cpp: replaced #include <string.h> with <cstring>.
* src/PropertyConfiguratorImpl.cpp: use getString(), etc. to get
properties.
* include/log4cpp/Category.hh, include/log4cpp/FixedContextCategory.hh,
include/log4cpp/CategoryStream.hh: fixed documentation buglets.
2002-07-02 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/HierarchyMaintainer.hh, include/log4cpp/Category.hh,
src/HierarchyMaintainer.cpp, src/Category.cpp:
Changed return type of getCurrentCategories() to std:vector<Category>.
vector<> is more efficient than set<> and works around MSVC++ DLL
export brain damage, see Microsoft Q168958.
* include/log4cpp/Configurator.hh, include/log4cpp/ConfiguratorSkeleton.hh,
include/log4cpp/SimpleConfigurator.hh, include/log4cpp/PropertyConfigurator.hh,
src/Configurator.cpp, src/ConfiguratorSkeleton.cpp, src/SimpleConfigurator.cpp,
src/PropertyConfigurator.cpp: integrated PropertyConfigurator contributed by
Alan Anderson <alan@rushmore.com>.
* msvc6/log4cpp/log4cpp.dsp, bcb5/log4cpp/log4cpp.bpf, bcb5/log4cpp/log4cpp.bpr,
bcb5/log4cpp/log4cpp.mak: added PropertyConfigurator files.
2002-06-19 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/Makefile.am: added NTEventlog.cpp and DllMain.cpp to sources.
* src/DllMan.cpp: enclosed in #ifdef LOG4CPP_SUPPLY_DLLMAIN
* include/log4cpp/config-win32.h: #define LOG4CPP_SUPPLY_DLLMAIN
* include/log4cpp/Makefile.am: added NTEventLog.hh
* msvc6/Makefile.am: added NTEventLogCategories.
2002-06-18 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/NDC.cpp: fix top level context falling off, if depth > 2.
(reported by Hong Yang <yanghong2009@yahoo.com>)
* tests/testNDC.cpp: push 3 contexts to test for bug above.
2002-06-17 Aaron Ingram <ai8@yahoo.com>
* Fixed default port for syslog in SimpleConfigurator.cpp
* Added a sample configuration file: log4cpp.cfg
2002-06-17 David Resnick <dresnick@mobilespear.com>
* Merge of MS Threads & DLL Build support patch by Aaron Ingram <ai8@yahoo.com>
with these changes:
* src/main.cpp renamed to src/DllMain.cpp
* Run-time library used for log4cppDLL changed to
Multithreaded DLL (fixed need for #pragma warning(disable:4275))
* pragma directives moved from various headers to
include/log4cpp/Portability.hh.
* include/log4cpp/threading/MSThreads.hh: reset(): TlsSetValue
uses parameter value instead of deleted one.
* include/log4cpp/NTEventLogAppender.hh,
src/NTEventLogAppender.cpp, msvc/NTEventLogAppender.mc,
tests/testNTEventLog.cpp: added NTEventLogAppender.
* msvc/testMain/testMain.dsp, msvc/testNTEventLog/testNTEventLog.dsp
added.
2002-06-03 Cedric Le Goater <legoater@free.fr>
* Makefile.am: added log4cpp.m4 installation
* log4cpp.m4: added aclocal support
* tests/Clock.cpp: fixed rdtscl() support on linux
2002-05-22 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/config-win32.h: fix compilation in Visual .NET.
2002-05-12 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/RollingFileAppender.cpp: explicitly remove oldest file in
rollOver() because win98 cannot rename() to existing files.
(Paulo Pizarro)
* Makefile.am: convert *.bpg files to CRLF in dist.(Paulo Pizarro)
* bcb5/log4cpp/log4cpp.bpf, bcb5/log4cpp/log4cpp.bpr,
bcb5/log4cpp/log4cpp.mak, include/log4cpp/Makefile.am,
msvc6/log4cpp/log4cpp.dsp, src/Makefile.am,
include/log4cpp/Win32DebugAppender.hh,
src/Win32DebugAppender.cpp: added Win32DebugAppender contributed by
Alan Anderson.
2002-04-21 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/config-win32.h: added mode_t typedef.
* m4/AC_C_INT64_T.m4: added #define of HAVE_STDINT_H.
* src/PatternLaout.cpp: #include <stdint.h> only if available.
2002-04-09 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* tests/Clock.cpp: test for i386 architecture on linux (patch #541608)
2002-04-04 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Release as 0.3.1
* src/Category.cpp: fix previous fix for bug #527467.
* m4/PETI_PEDANTIC_GCC.m4: add -Wno-unused to g++ options.
* configure.in: increment version to 0.3.1.
* msvc6/log4cpp/log4cpp.dsp: Added RollingFileAppender and threading
files.
* bcb5/log4cpp/log4cpp.bpf, bcb5/log4cpp/log4cpp.bpr,
bcb5/log4cpp/log4cpp.mak: Added RollingFileAppender
2002-03-31 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/Portability.hh: Disable exception specifier
warnings (issue #536668)
2002-03-27 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* m4/AC_C_INT64_T.m4: #include <stdint.h> and remove $GCC check.
* src/PatternLayout.cpp: #include <stdint.h>
* configure.in, include/log4cpp/Portability.hh: back out strcasecmp()
stuff.
2002-03-22 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/FileAppender.hh, src/FileAppender.cpp:
added 'append' and 'mode' options.
* include/log4cpp/RollingFileAppender.hh, include/log4cpp/Makefile.am,
src/RollingFileAppender.cpp, src/SimpleConfigurator.cpp,
src/Makefile.am: added RollingFileAppender contributed by
Paulo Pizarro <paulo.pizarro@digitro.com.br>
2002-03-20 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/SimpleConfigurator.hh, src/SimpleConfigurator.cpp:
added configure(std::istream&) method. (feature request #527760)
* src/Log4cppCleanup.cpp: set variable to NULL after delete.
(feature request #527393)
* include/log4cp/Category.hh, include/log4cpp/FixedContextCategory.hh,
src/Category.hh, src/Category.cpp: added getAllAppenders() method.
(feature request #527381)
* src/Category.cpp: removeAllAppenders(): fix invalidated iterator
usage. (bug #527467)
2002-03-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* tests/testbench.cpp: added missing 'std::' specifiers. (bug #530332)
* src/SyslogAppender.cpp: fix format string bug. (bug #527475)
2002-02-18 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Release as 0.3.0
* INSTALL: added some platform specific build instructions.
* tests/Clock.hh: replaced "long long" with int64_t.
* src/OstringStream.cpp: fix typo.
* src/Appender.cpp: added missing Mutex.
* include/log4cpp/threading/OmniThreads.hh: added Doxygen comments.
* NEWS: release 0.3.0.
* configure.in: upped release to 0.3.0 and LT version to 4.0.0
2002-02-11 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* configure.in: integrated check of omnithreads.
* m4/BB_CHECK_OMNITHREADS.m4: added
* include/log4cpp/threading/DummyThreads.hh: scoped lock is now
an integer.
* include/log4cpp/Category.hh,
include/log4cpp/FixedContextCategory.hh,
include/log4cpp/HierarchyMaintainer.hh,
include/log4cpp/NDC.hh,
src/Category.cpp, src/FixedContextCategory.cpp,
src/HierarchyMaintainer.cpp, src/NDC.cpp:
added threadsafety provisions.
* include/log4cpp/*.hh: replaced #include"" with #include<>
* src/*.cpp: replaced #include"" with #include<>
* include/log4cpp/Appender.hh, src/Appender.cpp:
added Mutex for _allAppender map.
2002-02-08 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/threading/Threading.hh,
include/log4cpp/threading/OmniThreads.hh,
include/log4cpp/threading/DummyThreads.hh,
include/log4cpp/threading/BoostThreads.hh,
include/log4cpp/threading/Makefile.am: added
2002-02-05 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/AppenderSkeleton.cpp: doAppend(): correct comparison of
_threshold against event priority (bug #513481).
* tests/Clock.cpp: add missing 'std::'.
2002-01-27 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Release as 0.2.7
* configure.in: upped version to 0.2.7.
* testbench.cpp: added more measurements, using crude cut&paste
of code.
* NEWS: set release date for 0.2.7, added bug #506907 fixed.
* bcb5/testPattern/Makefile.am: set EXTRA_DIST.
2002-01-25 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* configure.in: added bcb5/testConfig/Makefile to AC_OUTPUT
* include/log4cpp/FixedContextCategory.hh: removed superfluous class
qualification for ownsAppender().
2002-01-25 Uwe Jger <jaeger@varial.de>
* src/SimpleConfigurator.cpp: Replaced STDOUT_FILENO and STDERR_FILENO
with fileno(stdout) and fileno(stderr) which seems to be more portable.
* tests/testConfig.cpp: Replace ?-:-operator with if/else because of
compiler problems; retabbed file.
* bcb5/Makefile.am, bcb5/bcb5.bpg, bcb5/bcb5.mak: Added testConfig
* bcb5/log4cpp/log4cpp.bpf, bcb5/log4cpp/log4cpp.bpr,
bcb5/log4cpp/log4cpp.mak: Added new files.
* bcb5/testConfig/Makefile.am, bcb5/testConfig/testConfig.bpf,
bcb5/testConfig/testConfig.bpr, bcb5/testConfig/testConfig.mak: Added
testConfig.
* bcb5/testCategory/testCategory.bpr,
bcb5/testFixedContextCategory/testFixedContextCategory.bpr,
bcb5/testNDC/testNDC.bpr, bcb5/testPattern/testPattern.bpr
bcb5/testPattern/testPattern.mak, bcb5/testmain/testmain.bpr: Adjusted
makefiles/project files for BCB.
2002-01-23 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/SimpleConfigurator.cpp: try to fix bug #506907 (MSVC++
compile failure) with ::dup(fileno(stdout))
* configure.in: upped version to 0.2.7rc2
2002-01-21 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/Category.cpp: fix ownsAppender() methods.
* tests/testCategory.cpp: rename appender 'default' to 'default2'.
* configure.in: upped version to 0.2.7rc1 and LT_VERSION to 3:1:2
* src/SimpleConfigurator.cpp, tests/testFixedContextCategory.cpp,
tests/testPattern.cpp, tests/testbench.cpp, tests/testmain.cpp:
replaced setAppender() with addAppender().
* include/log4cpp/Category.hh: update doxygen comments.
* include/log4cpp/FixedContextCategory.hh,
src/FixedContextCategory.cpp: sync methods for multiple Appender
support.
* NEWS: added summary for 0.2.7 release
2002-01-20 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/Category.hh, src/Category.cpp,
tests/testCategory.cpp: merged in support for multiple Appenders,
contributed by Brendan B. Boerner.
* THANKS: Added Brendan.
2002-01-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/HierarchyMaintainer.hh, src/HierarchyMaintainer.cpp:
added getExistingInstance(std::string).
* include/log4cpp/Category.hh, src/Category.cpp:
added exists(std::string).
* include/log4cpp/RollingFileAppender.hh,
include/log4cpp/Makefile.am,
src/RollingFileAppender.cpp, src/MakeFile.am: removed
RollingFileAppender, to be replaced with DailyRollingFileAppender.
2002-01-16 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/Category.hh, src/Category.cpp: fix bug #504314:
added missing log methods for priority 'fatal'.
* src/SimpleConfigurator.cpp: added 'stdout' and 'stderr' appenders.
2002-01-10 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* configure.in: added check for strcasecmp() and stricmp().
* include/log4cpp/config-win32.h: have stricmp() but not strcasecmp().
* include/log4cpp/Portability.hh: use stricmp() if strcasecmp() is
not available.
* include/log4cpp/RemoteSyslogAppender.hh: added SyslogFacility type.
2002-01-09 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/SimpleConfigurator.cpp: skip all whitespace before PatternLayout
pattern, not just one.
* include/log4cpp/RollingFileAppender.cpp,
include/log4cpp/Makefile.am,
src/RollingFileAppender.cpp, src/MakeFile.am:
added RollingFileAppender contributed by Alex Tapaccos.
2002-01-08 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/SimpleConfigurator.cpp: skip space before PatternLayout
pattern (Bug #500766).
* src/SimpleConfigurator.cpp: fix screwy fix for Bug #500766,
now using Alex' method. (Obsoletes Patch #500832).
2002-01-04 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/config-openvms.h: #include <inttypes.h> for int64_t.
* src/PatternLayout.cpp(doFormat): removed superfluous return
statement.
* include/log4cpp/config-win32.h: fix int64_t for Borland compiler.
* include/log4cpp/SyslogAppender.hh,
include/log4cpp/RemoteSyslogAppender.hh,
src/SyslogAppender.cpp, src/RemoteSyslogAppender.cpp:
inherit from LayoutApppender instead of AppenderSkeleton
(Bug #499524).
2002-01-03 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/Filter.hh: decide() is NOT abstract.
* tests/testFilter.cpp: added
* tests/Makefile.am: added testFilter.cpp to tests.
2001-12-21 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Release as 0.2.6b
* configure.in: upped release to 0.2.6b
* src/Priority.cpp: getPriorityValue(): fix bug in numerical input
handling.
* tests/Makefile.am: added very simple test for Priority.
* tests/testPriority.cpp: added.
2001-12-13 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/OstringStream.cpp: use portable_vsnprintf(), not
portable_snprintf().
2001-12-11 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Release as 0.2.6
* TODO: Mark PatternLayout and SimpleConfigurator as done.
* NEWS: release 0.2.6
* Makefile.am: exclude CVS subdir from doc-dist tar ball.
* include/log4cpp/config-win32.h: #define int64_t as __int64,
#define LOG4CPP_MISSING_INT64_OSTREAM_OP
* src/PatternLatout.cpp: workaround missing << operator for int64_t
on MSVC.
* src/TimeStamp.cpp: fix ref typo for timeb struct.
* include/log4cpp/config-win32.h: #define LOG4CPP_USE_CLEANUP.
2001-11-30 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* tests/testbench.cpp: use TimeStamp instead of ::time()
* include/log4cpp/Makefile.am: added config-openvms.h to headers.
* include/log4cpp/Appender.hh, include/log4cpp/HierarchyMaintainer.hh,
include/log4cpp/Log4cpCleanup.hh, src/Appender.cpp,
src/HierarchyMaintainer.cpp, src/Log4cppCleanup.cpp: conditionally
use Log4cppCleanup, depending on #define LOG4CPP_USE_CLEANUP. The new
default is NOT to use it, because it causes segfaults on some
platforms (e.g. Solaris).
2001-11-29 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/Portability.hh: use config-openvms.h based on
__OPENVMS__ flag.
* src/snprintf.c: replaced static_cast with C-style cast: this file
should remain C only.
* configure.in, Makefile.am: added openvms subdirectory.
* openvms/Makefile.am: added empty Makefile template.
* THANKS: added Tony Cheung.
* src/Makefile.am: added snprintf.c to noinst_HEADERS.
* include/log4cpp/TimeStamp.hh: moved class description to the
correct location.
2001-11-28 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/snprintf.c: added portable snprintf 2.2 from
http://www.ijs.si/software/snprintf/
* src/OstringStream.cpp: replace alternative snprintf with one in
snprintf.c.
* src/snprintf.c: add static cast from void* to const char*.
* include/log4cpp/config-openvms.h: added.
2001-11-26 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/TimeStamp.hh, include/log4cpp/Makefile.am,
src/TimeStamp.cpp, src/Makefile.am: added micro second
precise time stamp.
* configure.in: added test for 'ftime()' function.
* include/log4cpp/LoggingEvent.hh, include/log4cpp/PatternLayout.hh,
src/LoggingEvent.cpp, src/BasicLayout.cpp, src/PatternLayout.cpp:
Use new TimeStamp class.
* tests/testPattern.cpp: included '%r' in test pattern.
* src/SimpleConfigurator.cpp: added support for RemoteSyslogAppender.
* bcb5/log4cpp/log4cpp.bpr, bcb5/log4cpp/log4cpp.bpf: Added TimeStamp
class.
* msvc6/log4cpp/log4cpp.dsp: Added TimeStamp, PatternLayout and
SimpleConfigurator classes.
* include/log4cpp/RemoteSyslogAppender.hh: replaced #defines with
enum.
* include/log4cpp/config-win32.h: sync with #defines in
include/log4cpp/config.h.
* tests/Makefile.am: made log4cpp.init check_DATA.
* tests/testConfig.cpp: read $srcdir for location of log4cpp.init in
order to fix distcheck target.
2001-11-23 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* tests/testConfig.cpp, tests/log4cpp.init: added test for
SimpleConfigurator.
* include/log4cpp/Makefile.am, src/Makefile.am, tests/Makefile.am:
integrated SimpleConfigurator in autoconf.
* src/SimpleConfigurator.cpp: added support for comments in config
file (starting with a '#'). added support for SyslogAppender. use
Priority::getPriorityValue() to convert priorities.
2001-11-09 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* m4/CREATE_GENERIC_CONFIG.m4: escape $*
* tests/testFixedContextCategory.cpp: Use contructor for
FixedContextCategory instead of assignment.
2001-11-05 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* m4/CREATE_GENERIC_CONFIG.m4: fix /bin/sh incompatibility on Solaris.
* include/log4cpp/Category.hh: Added private copy constructor and
assignment operator (pointed out by Shane Baker).
2001-11-01 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/Category.cpp: in setAppender(Appender*) allow NULL Appender.
* include/log4cpp/Category.hh: in setAppender(Appender*) document
allowing NULL Appender parameter.
2001-10-24 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* configure.in:
Added bcb5/testPattern/Makefile to AC_OUTPUT.
* include/log4cpp/Priority.hh, src/Priority.cpp:
Added getPriorityValue() method.
* src/PatternLatout.cpp:
Added support for sstream predating c++ stream libraries.
2001-10-05 Uwe Jger <jaeger@varial.de>
* bcb5/Makefile.am, bcb5/bcb5.bpg, bcb5/bcb5.mak:
Added testPattern.
* bcb5/log4cpp/log4cpp.bpf, bcb5/log4cpp/log4cpp.mak:
Added PatternLayout and SimpleConfigurator.
* bcb5/testPattern/testPattern.bpf, bcb5/testPattern/testPattern.bpr, bcb5/testPattern/testPattern.mak:
Added project file and makefile for pattern test.
* include/log4cpp/config-win32.h:
Added support for PatternLayout.
* include/log4cpp/SimpleConfigurator.hh, src/SimpleConfigurator.cpp:
Make it compile with Borland C++.
* src/PatternLayout.cpp, src/RemoteSyslogAppender.cpp, tests/testPattern.cpp:
Port to Borland C++.
2001-10-04 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/SimpleConfigurator.cpp, include/log4cpp/SimpleConfigurator.hh:
Added simple configurator class contributed by Glenn Scott. Not
usable yet.
* src/Priority.cpp: fix conversion from PriorityLevel to PriorityName.
* include/log4cpp/Makefile.am, src/Makefile.am, tests/Makefile.am:
Added PatternLayout files
* configure.in, Makefile.am, m4/C_C_INT64_T: Added check for int64_t.
* configure.in: Added check for gettimeofday.
* src/PatternLayout.cpp: use LOG4CPP_HAVE_TIMEOFDAY and
LOG4CPP_HAVE_INT64_T
* include/log4cpp/LoggingEvent.hh: made strings real member variables.
2001-09-18 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/PatternLayout.hh, src/PatternLayout.cpp,
tests/testPattern.cpp:
Added PatternLayout contributed by Glenn Scott. Is not in autoconf
setup yet.
2001-09-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* configure.in:
Added checks for -lsocket and -lnsl
* m4/AC_FUNC_SNPRINTF.m4:
Relax snprintf() check: full C99 compliancy is not needed.
* include/log4cpp/Priority.hh:
Fix workaround for #define DEBUG
* config/Makefile.am:
Added newline to keep broken tar utilities happy
* include/log4cpp/FixedContextCategory.hh:
Added default value for context parameter in constructor.
* include/log4cpp/LayoutAppender.hh:
Made BasicLayout the DefaultLayoutType
* configure.in:
Set requirement for Autoconf 2.50
Bumped version to 0.2.6
Incremented LT_VERSION to 2:0:1
* Makefile.am:
Fix EXTRA_DIST m4 inclusion.
* bcb5/log4cpp/log4cpp.bpf, bcb5/log4cpp/log4cpp.bpr,
bcb5/log4cpp/log4cpp.mak:
Added RemoteSyslogAppender.
2001-08-23 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/Priority.hh:
Added workaround for #define DEBUG in EDK.h on Win32.
2001-07-17 Walter Stroebel <walter.stroebel@lifeline.nl>
* include/log4cpp/RemoteSyslogAppender.hh,
src/RemoteSyslogAppender:
Added.
2001-07-16 Uwe Jger <jaeger@varial.de>
* bcb5/log4cpp.bpf, bcb5/log4cpp.bpr:
Adjusted project files to compile CategoryStream.cpp.
* bcb5/bcb5.mak, bcb5/log4cpp/log4cpp.mak,
bcb5/log4cpp/testCategory/testCategory.mak,
bcb5/log4cpp/testFixedContextCategory/testFixedContextCategory.mak,
bcb5/log4cpp/testmain/testmain.mak,
bcb5/log4cpp/testNDC/testNDC.mak:
Added makefiles for Borland make to build without IDE.
2001-06-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/Category.hh, include/log4cpp/CategoryStream.hh,
include/log4cpp/Makefile.am,
src/Category.cpp, src/CategoryStream.cpp, src/Makefile.am:
Put CategoryStream class into its own files.
2001-06-11 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* m4/AC_CREATE_PREFIX_CONFIG_H.m4: fix to overwrite
include/log4cpp/config.h instead of append to it.
* include/log4cpp/Makefile.am: remove config.h from dist.
2001-06-11 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Release as 0.2.5
* NEWS: inclusion of Borland C++ Builder support.
* Makefile.am: only include *.m4 files in m4/ in dist.
* Makefile.am: fix typos in debian and doc-dir targets.
2001-06-07 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/LayoutAppender.hh: set SimpleLayout as
DefaultLayoutType.
* src/LayoutAppender.cpp (LayoutAppender, setLayout): use
DefaultLayoutType to construct new Layouts.
* src/LayoutAppender.cpp (setLayout): check whether old Layout and
new Layout are the same object.
* src/Category.cpp (setAppender): check whether old and new Appender
are the same object.
* src/Filter.cpp (setChainedFilter): check whether old and new Filter
are the same object.
* include/log4cpp/Config.hh, include/log4cpp/Portability.hh,
include/log4cpp/OstringStream.hh, include/log4cpp/Makefile.am,
src/Appender.cpp, src/AppenderSkeleton.cpp, src/BasicLayout.cpp,
src/Category.cpp, src/FileAppender.cpp, src/Filter.cpp,
src/FixedContextCategory.cpp, src/HierarchyMaintainer.cpp,
src/IdsaAppender.cpp, src/LayoutAppender.cpp, src/Log4cppCleanup.cpp,
src/LoggingEvent.cpp, src/Log4cppCleanup.cpp, src/LoggingEvent.cpp,
src/NDC.cpp, src/OstreamAppender.cpp, src/OstringStream.cpp,
src/Priority.cpp, src/SimpleLayout.cpp, src/StringQueueAppender.cpp,
src/SyslogAppender.cpp, msvc6/log4cpp/log4cpp.dsp,
tests/testmain.cpp: renamed Config.hh to Portability.hh
* m4/AC_AS_DIRNAME.m4, m4/AC_AS_MKDIR_P.m4, m4/AC_ECHO_MKFILE.m4:
removed
* m4/AC_CREATE_PREFIX_CONFIG_H.m4: replaced AC_ECHO_MKFILE with
AS_DIRNAME. This means autoconf >= 2.4 required.
* configure.in, include/log4cpp/config-win32.h: upped version number
to 0.2.5.
* configure.in: upped LT_VERSION to 1:0:0.
2001-06-06 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/AppenderSkeleton.hh, include/log4cpp/BasicLayout.hh,
include/log4cpp/HierarchyMaintainer.hh,
include/log4cpp/IdsaAppender.hh, include/log4cpp/Log4cppCleanup.hh,
include/log4cpp/LoggingEvent.hh, include/log4cpp/OstreamAppender.hh,
include/log4cpp/OstringStream.hh, include/log4cpp/Priority.hh,
include/log4cpp/SimpleLayout.hh, include/log4cpp/SyslogAppender.hh:
Documentation updates.
2001-06-06 Uwe Jger <jaeger@varial.de>
* include/log4cpp/config-win32.h: LOG4CPP_HAVE_SNPRINTF, WIN32,
LOG4CPP_FIX_ERROR_COLLISION are defined for win32
* tests/testmain.cpp: added #ifdef's to make it compile with Borland
C++ Builder
2001-06-05 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* include/log4cpp/Config.hh, include/log4cpp/config-win32.h: Added
* include/log4cpp/Makefile.am: added Export.hh and config-win32.h to
liblog4cppinclude_HEADERS.
* include/log4cpp/Config-win32.hh: removed
2001-06-04 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Makefile.am: removed config.h copy from dist-hook
* m4/AC_CREATE_GENERIC_CONFIG.m4: added
* log4cpp-config.in: removed (obsoleted by AC_CREATE_GENERIC_CONFIG)
* Configure.in: added AC_CREATE_GENERIC_CONFIG, removed
log4cpp-config from AC_OUTPUT
2001-06-03 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* configure.in: added AC_CREATE_PREFIX_CONFIG_H for creation of
include/log4cpp/config.h (which has been removed from
AM_CONFIG_HEADER)
* Config.hh.in: removed
* Config.hh: copied from Config.hh.in. include <log4cpp/config.h>
and remove LOG4CPP_* defines.
* include/log4cpp/Makefile.am: added config.h, removed Config.hh.in
* Appender.cpp, AppenderSkeleton.cpp, BasicLayout.cpp, Category.cpp,
FileAppender.cpp, Filter.cpp, FixedContextCategory.cpp,
HierarchyMaintainer.cpp, IdsaAppender.cpp, LayoutAppender.cpp,
Log4cppCleanup.cpp, LoggingEvent.cpp, NDC.cpp, OstreamAppender.cpp,
OstringStream.cpp, Priority.cpp, SimpleLayout.cpp,
StringQueueAppender.cpp,SyslogAppender.cpp: added inclusion of
<log4cpp/Config.hh>, prefixed autoconf #ifdefs with LOG4CPP_
* AC_AS_DIRNAME.m4, AC_AS_MKDIR_P.m4, AC_CREATE_PREFIX_CONFIG_H.m4,
AC_ECHO_MKFILE.m4: added
2001-06-01 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Priority.hh: #define ERROR workaround try 3, put fix inside
LOG4CPP_FIX_ERROR_COLLISION switch.
* tests/testErrorCollision.cpp, tests/Makefile.am: added test for
#define ERROR workaround.
2001-05-29 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Priority.hh: #define ERROR workaround try 2.
* Merge of Borland support patch by Uwe Jger <jaeger@varial.de>.
2001-05-28 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Priority.hh: included workaround for #define ERROR rudeness in
windows.h on Win32.
2001-05-23 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* log4cpp.spec.in: run ldconfig after install or uninstall. Upped
release# to 3.
* Makefile.am: in rpm target corrected top_srcdir variable name.
2001-05-19 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Fixed distcheck target.
* Fixed check target. It runs testNDC, testCategory and
testFixedContextCategory as tests.
* Added subdir m4 with (common) autoconf macros.
* Started adding throw() specifiers to methods.
2001-04-21 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Rereleased as 0.2.4b
MSVC++: Stripped '\r' characters from .dsp and .dsw files.
MSVC++: Added StringQueueAppender and FixedContextCategory to
log4cpp.dsp.
2001-04-20 Steve Ostlind <s.ostlind@pentasafe.com>
MSVC++: build log4cpp library with multithreaded DLL.
2001-04-19 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Now also added the files in debian and msvc6 to EXTRA_DIST, so they
finally get into the dist tar ball. Sigh.
2001-04-18 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Released as 0.2.4
Added debian and msvc6 subdirs to autoconf configuration: they were
missing from the dist target.
2001-04-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Made Category subclassable.
Added FixedContextCategory class.
2001-04-12 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Merged Marcel Harkema's patch for Debian package support.
2001-04-11 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Added StringQueueAppender class.
Separated API docs from devel RPM, into a doc RPM.
2001-04-10 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Rerelease as 0.2.3b
Fixed bugs:
#415056 Win32: log4cpp project file broken
#415059 Win32: problem with 'using namespace std'
2001-04-09 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Release 0.2.3
Fixed and resolved Bugs:
#411711 missing Clock.hh
#411902 invalid AppenderMap iterator
#412008 memory leak in OstringStream::str()
#412232 _append problem
#414958 printf style logging kaputt
2001-04-06 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Added class Filter, with which Appenders can filter out LoggingEvents
Added class AppenderSkeleton, base class for Appender implementations
Modified the Layout interface: it now returns a std::string instead of
a char*.
2001-03-?? Cedric Le Goater <cedric@legoater.com>
Cleanup of Hints and StreamUtil to OstringStream.
2001-03-11 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Added LayoutAppender. Changed Layout ownership for Appenders: they
now own their Appender.
2001-03-07 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Moved to new iostreams.
2001-03-04 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Release 0.2.2
Added doc-dist make target
Added testCategory to tests
2001-02-25 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Merged in Win32 / MSVC++6.0 support patches from Lynn Owen
<opl@agoby.com>
2001-02-15 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Release 0.2.1
Changed license to the GNU Lesser General Public License (LGPL).
2001-01-25 Cedric Le Goater <cedric@legoater.com>
Added EMER, ALERT, CRIT and NOTICE shortcuts methods to Category.
2000-12-22 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Merged more patches from Cedric Le Goater, including an RPMS spec
file and a testbench.
2000-12-18 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Added IdsaAppender contributed by Marc Welz.
Merged Tru64 support patches from Cedric Le Goater.
2000-12-10 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Release 0.2.0
Integrated autoconf setup contributed by Cedric Le Goater.
Fixed compilation problem in NDC on platforms with g++-2 library
(instead of g++-3). (Reported by Louis Bayle <lbayle@fairesuivre.fr>.)
Added CategoryStream.
2000-12-07 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Release 0.1
Added Doxygen generated API documentation. Most of it has been
copied verbatim from LOG4J.
Added NDC (Nested Diagnostic Context) class.
Added OstreamAppender.
Added SyslogAppender.
Fixed bug in HierarchyMaintainer: getInstance should NOT set
the Appender of a newly instantiated Category.
2000-12-03 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
Release 0.0
First CVS import at SourceForge.
|