Use the event log under Windows.