<br> diff --git a/src/daemon/caps.c b/src/daemon/caps.c<br> index 3759388..49a0690 100644<br> --- a/src/daemon/caps.c<br> +++ b/src/daemon/caps.c<br> @@ -20,6 +20,8 @@<br> USA.<br> ***/<br><br> +#define PA_LOG_CATEGORY_DEFAULT "daemon"<br>
+<br><br><br>The above #define is duplicated below in various files.<br>Will it be better to have it #define'ed in a header file and inclued that wherever required ?<br><br>[deng] Yes, I'll make "damon" a macro in log.h and then use something similar to the below:<br>
#DEFINE PA_LOG_CATEGORY_DEFAULT PA_LOG_CATEGORY_DAEMON<br><br>See previous comment, applies to above #define as well.<br>Please check all such occurrences below.<br><br>[deng] About the granularity of the category, I'm afraid I'm still in the first stage which is to make it as simple as possible. e.g. bluetooth module has different c files, and in the current implementation I make different files into different categories, but yes, we can make it one big category. We just need to reach a consensus on this one.<br>
<br>