aperf icon indicating copy to clipboard operation
aperf copied to clipboard

Add support for collecting Aperf Run logs

Open janaknat opened this issue 1 year ago • 1 comments

Switch to using log4rs crate which allows all prints from aperf to be shown both in the console and a file. This file can be used to see the run prints during the record phase. Attached a report with the runlog.

kbuildlog.tar.gz

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

janaknat avatar Sep 24 '24 16:09 janaknat

We're going to want to configure different levels for the stdout vs file loggers (and the command-line option for verbosity should not affect the file log). Make sure you can at least do that with the current design. Trace level would be awesome for the file log, but at least debug level.

wash-amzn avatar Sep 27 '24 17:09 wash-amzn

We're going to want to configure different levels for the stdout vs file loggers (and the command-line option for verbosity should not affect the file log). Make sure you can at least do that with the current design. Trace level would be awesome for the file log, but at least debug level.

By default, we now log in the file at Debug level. The console out is still based on the users choice.

janaknat avatar Dec 02 '24 23:12 janaknat