Add configuration initial support
Make log configuration more flexible