logging plot