How to enable debug output / log? #764
|
It looks like fre:ac uses a specialized directory structure to load its components (encoder, decoder). When trying to package fre:ac, boca, and smooth using FHS, fre:ac seems to have trouble finding the components. I saw that in the code there was debug strings with which I hope can help me find which directories it is using for loading the components, but I cannot figure out how to enable it. Please advise on how to enable the debug logging. Thanks! |
Replies: 1 comment 7 replies
|
The debug log can be viewed in the Logs tab when compiled with -DDEBUG. However, the Logs tab is provided by an extension, so if extensions cannot be loaded, you won't have that. Components are expected in I can update the code to also search in Edit: That would actually be the same as what is already done on Haiku in |
The logs tab is implemented in the Protocols extension.
I think it could be that the fre:ac extensions are not found and loaded. The current codebase expects the fre:ac extensions in the same prefix as the BoCA components, in a
freacfolder sitting besides thebocafolder.So if you have the BoCA components in
/usr/lib/x86_64-linux-gnu/boca, fre:ac components need to be in/usr/lib/x86_64-linux-gnu/freacor they will not be found.Could that be it?
In any case, I guess I should fix that. I can provide a fix within a couple of days.