]> git.sesse.net Git - vlc/blobdiff - projects/macosx/framework/Sources/VLCLibrary.m
macosx/framework: Use syslog facilities.
[vlc] / projects / macosx / framework / Sources / VLCLibrary.m
index ec2f5b9cc5b4eabccc573fce450a66818d9340b7..e2a11924796e0d7280391b6f05cc2c41136b3457 100644 (file)
@@ -76,7 +76,9 @@ void __catch_exception( void * e, const char * function, const char * file, int
             [defaultParams addObject:@"--ignore-config"];                           // Don't read and write VLC config files
             [defaultParams addObject:@"--vout=macosx"];
             [defaultParams addObject:@"--text-renderer=quartztext"];                // our CoreText-based renderer
-            [defaultParams addObject:@"--verbose=-1"];                               // Don't polute the log
+            [defaultParams addObject:@"--verbose=-1"];                              // Don't polute the stdio log
+            [defaultParams addObject:@"--syslog"];                                  // log to syslog
+            [defaultParams addObject:@"--log-verbose=4"];                           // log everything
             [defaultParams addObject:@"--no-color"];
             [defaultParams addObject:@"--no-media-library"];
             [defaultParams addObject:@"--play-and-pause"];