[Modified] database name
[Fix] the default dir is wrong
[Fix]                if (listener != null)  is wrong
[Delete] test code for log