Incremental collect.
Fixed log4cxx configuration.
Added test. There is a race condition somewhere in PC!