Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[log] Log信息太过琐碎的问题 #11

Open
zhoujingya opened this issue Sep 26, 2023 · 1 comment · May be fixed by #12
Open

[log] Log信息太过琐碎的问题 #11

zhoujingya opened this issue Sep 26, 2023 · 1 comment · May be fixed by #12

Comments

@zhoujingya
Copy link

fprintf(stderr, "Warning: the memory at  [0x%llX, 0x%llX] has been realigned\n"
                "to the %ld KiB page size: [0x%llX, 0x%llX]\n",
        base0, base0 + size0 - 1, long(PGSIZE / 1024), base, base + size - 1);

看log信息的时候会有很多类似的输出,其实是无用输出,应该定义一个开关

@zhoujingya
Copy link
Author

修改之后的效果:
Screenshot from 2023-09-26 13-56-42
只保留一个logfile的路径与名称,方便开发者查看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant