Changeset 3688:7624aa24f3ef in roaraudio


Ignore:
Timestamp:
04/19/10 17:42:27 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added --log-syslog to roard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/roard.c

    r3684 r3688  
    6666        " --pidfile PIDFILE     - Write a pidfile at PIDFILE\n" 
    6767#endif 
     68#ifdef ROAR_HAVE_SYSLOG 
     69        " --log-syslog          - Log Warnings, Errors, ... to syslog\n" 
     70#endif 
    6871       ); 
    6972 
     
    11841187   i++; 
    11851188#endif 
     1189  } else if ( strcmp(k, "--log-syslog") == 0 ) { 
     1190#ifdef ROAR_HAVE_SYSLOG 
     1191   roar_debug_set_stderr_mode(ROAR_DEBUG_MODE_SYSLOG); 
     1192#else 
     1193   ROAR_ERR("--log-syslog not supported"); 
     1194#endif 
     1195 
    11861196 
    11871197  } else if ( strcmp(k, "--plugin-load") == 0 ) { 
Note: See TracChangeset for help on using the changeset viewer.