mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-25 05:45:42 +03:00
Do not log on Apple by default as that goes to ASL
This commit is contained in:
parent
2ef3931c32
commit
7ec663a0c6
1 changed files with 5 additions and 0 deletions
|
@ -164,6 +164,10 @@ static LOG4C_INLINE void csync_log(char *catName, int a_priority,
|
|||
va_end(va);
|
||||
}
|
||||
#else
|
||||
/* On Apple, all stderr & stdout go to Apple System Log (ASL) by default.
|
||||
* Thats certainly too much at the moment.
|
||||
*/
|
||||
#ifndef __APPLE__
|
||||
va_list va;
|
||||
va_start(va, a_format);
|
||||
if (a_priority > 0) {
|
||||
|
@ -173,6 +177,7 @@ static LOG4C_INLINE void csync_log(char *catName, int a_priority,
|
|||
va_end(va);
|
||||
printf("\n");
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue