AppenderPool function

Log to databases via pool