add action bar, change log message format