add view log detail command