Log query & fix hardcore work with microtime()