modernize the code
black format
fix error on handling process ID
always print basic information
create SQLite in WAL mode
use uvloop if available
clone from pySyslog and modified to use AsyncIO and SQLite