DataGraph Example 2: Logging data.