logNG supports logQueue

+ logQueue(...) (in logNG)
+ added two new settings for logQueue
* made logNG a bit more robust
* made logXYZ functions (in DBConnector) protected (should only be
called from logNG)