Logging

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
PavelChekov
Member
Member
Posts: 113
Joined: Mon Sep 21, 2020 9:51 am
Location: Aboard the Enterprise

Logging

Post by PavelChekov »

I am looking for information on logging, but as far as I can tell, there is no real "guide to logging" on OSDev. Am I missing it?

Thanks
USS Enterprise NCC-1701,
The Final Frontier,
Space,
The Universe

Live Long And Prosper

Slava Ukraini!
Слава Україні!
thewrongchristian
Member
Member
Posts: 426
Joined: Tue Apr 03, 2018 2:44 am

Re: Logging

Post by thewrongchristian »

PavelCheckov wrote:I am looking for information on logging, but as far as I can tell, there is no real "guide to logging" on OSDev. Am I missing it?

Thanks
It seems to be mentioned in other pages, such as Kernel_Debugging.
Korona
Member
Member
Posts: 1000
Joined: Thu May 17, 2007 1:27 pm
Contact:

Re: Logging

Post by Korona »

Properly logging is surprisingly deep. Difficulties arise when you want to log from NMI and MCE handlers without getting output intermingled with other CPUs.
managarm: Microkernel-based OS capable of running a Wayland desktop (Discord: https://discord.gg/7WB6Ur3). My OS-dev projects: [mlibc: Portable C library for managarm, qword, Linux, Sigma, ...] [LAI: AML interpreter] [xbstrap: Build system for OS distributions].
Post Reply