From f164769a9a973a3e981f279ed7aa90459ae68545 Mon Sep 17 00:00:00 2001 From: mio Date: Sun, 22 Sep 2024 00:14:03 +0800 Subject: [PATCH] Update logging --- docs/FAQ.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/FAQ.md b/docs/FAQ.md index 99ec7648e3..192533e496 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -133,8 +133,7 @@ additional messages to indicate what is happening. However, the qemu logs are partially commented-out and incomplete, but give it a try. You might want to dig deeper - and add your own log messages where you expect or try to find the bug. -See the `unicorn/qemu/include/qemu/log.h` file for details. -To enable logs, you must recompile Unicorn with the enabled `UNICORN_LOGGING` define. +To enable logs, you must recompile Unicorn with `-DUNICORN_LOGGING=yes` to cmake. Logs are written in different log levels, which might result into a very verbose logging if enabled. To control the log level information, two environment variables could be used.