TODO 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Last updated: 12 Nov 2006
  2. - new log4j naming conventions: category -> logger
  3. - multiple appenders per category
  4. - improve errors in configuration file parser
  5. - location_info is broken (need macro ?)
  6. - remove initialization of log4c when library is loaded (compatibility
  7. issues)
  8. . Currently printing some reminder messages in the init and fini sections with gcc.
  9. I guess we ditch those just before the release of 1.2 ? Or always leave em in the
  10. debug version...
  11. - add void* to location_info
  12. - thread safe ?
  13. . see the "Log4C Developers Guide" for a discussion of the issues
  14. and some sugggestions for fixing them.
  15. - expat:
  16. . behavior with autoconf is to use expat if it's there. That's ok but
  17. there needs to be an option so that prevents it being picked up--otherwise
  18. it's hard for release engineers to control what they manufacture with Log4C.
  19. - what is the stauts of the macosx build files--do they work with the latest workspace ?
  20. - improve sd/error.c
  21. . currently the sd_debug are functions...is that costly in the optimized build even if
  22. the body is empty ?
  23. - docs needs an update
  24. . home web page needs to be synced up to 1.1.0, link to latest API doc,
  25. and the draft developers guide.
  26. . Could probably use a "Log4C Internals" doc as well
  27. - rolling file appender:
  28. . take a file lock as well as the mutex. That would protect
  29. the file from other processes that might access it.
  30. - msvc:
  31. . the mapping of pthread to the native Windows thread functrions is done
  32. by macros definined in sd_xplatform.h. This works ok...but the join/cancel macros
  33. are not returning the right values.
  34. . two of the tests in the test_rc program are failing...need to look at that.
  35. . In category.h we make a special case for some of the inline functions on windows.
  36. This is not really required as the __inline (or __forceinline) directoves exist on windows.
  37. So we could just define inline to be __inline in sd_xplatform.h.
  38. - tests:
  39. . write a test program focused on lifecycle management of log4C objects.
  40. For example it can open, append, close in a loop to make sure everything works and
  41. ther eare no memory leaks. What about log4c_init, log4c_fini in a loop...not sure what that
  42. gives...not ethat the base types are not freed by log4c_fini....