logger features , first version

just compiled, need to check at running. idan hasn't MYSQL.