Open phako opened 8 years ago
Could provide some details on what you where trying to do so we can take a look at what we need to improve in logging
Some part of this ticket was caused by the confusion that I have to compile dleyna-core with level 8 to get debug information. Nevertheless, there is no information about
If I enable debug logging but don't enable debug, I see a lot enter/exit without any context - that's also not helpful
For example this is the log I get on my run yesterday (pls ignore LogType 3, that's for hooking it into our logging system)
dLeyna core version 0.6.0
dleyna-server-service version 0.6.0
Enter
Exit
Type[3] Level[0x3F] Mask[0xFC] Flags[0xFF]
Load file [/root/.config/dleyna-server-service.conf]
[General settings]
Never Quit: T
Connector Name: dbus
Port: 0
Push host port: 0
[Logging settings]
Log Type : 3
Log Level: 0x3F
[Network filtering settings]
Enabled : F
Entries: (null)
Enter
Exit
White List enabled: 0
Enter
Exit
Enter - queue <source-1,dleyna-server>
Exit
Enter - Task added to queue <source-1,dleyna-server>
Exit
Enter - Task added to queue <source-1,dleyna-server>
Exit
Enter - Task added to queue <source-1,dleyna-server>
Exit
Enter - Task added to queue <source-1,dleyna-server>
Exit
Enter - Task added to queue <source-1,dleyna-server>
Exit
Enter - Task added to queue <source-1,dleyna-server>
Exit
Enter - Starting queue <source-1,dleyna-server>
Exit
Enter - Start task processing for queue <source-1,dleyna-server>
Exit
Enter - Task completed for queue <source-1,dleyna-server>
Exit
Enter - Start task processing for queue <source-1,dleyna-server>
Exit
Enter - Task completed for queue <source-1,dleyna-server>
Exit
Enter - Start task processing for queue <source-1,dleyna-server>
Exit
Enter - Task completed for queue <source-1,dleyna-server>
Exit
Enter - Start task processing for queue <source-1,dleyna-server>
Exit
Enter - Task completed for queue <source-1,dleyna-server>
Exit
Enter - Start task processing for queue <source-1,dleyna-server>
Enter - Task completed for queue <source-1,dleyna-server>
Exit
Exit
Enter - Start task processing for queue <source-1,dleyna-server>
Enter - Task completed for queue <source-1,dleyna-server>
Removing queue <source-1,dleyna-server>
Enter
Exit
Exit
Exit
Enter - queue <:1.80,dleyna-server>
Exit
Enter - Task added to queue <:1.80,dleyna-server>
Exit
Enter - Start task processing for queue <:1.80,dleyna-server>
Enter - Task completed for queue <:1.80,dleyna-server>
Exit
Exit
Enter - Source <:1.80>
Removing queue <:1.80,dleyna-server>
Enter
Exit
Exit
Enter - queue <:1.81,dleyna-server>
Exit
Enter - Task added to queue <:1.81,dleyna-server>
Exit
Enter - Start task processing for queue <:1.81,dleyna-server>
Enter - Task completed for queue <:1.81,dleyna-server>
Exit
Exit
Enter - Source <:1.81>
Removing queue <:1.81,dleyna-server>
Enter
Exit
Exit
I can guess from :1.81 that this is some D-Bus interaction in the end, but that's about it.
There is currently not much help from the log when/if something is wrong - please add improved debug logging