Ignore:
Timestamp:
03/08/06 16:57:58 (14 years ago)
Author:
spascoe
Message:

Overhalled the logging facility, packaging it so that it is
simmilar to bbftpd_private_auth. When compiling non-embedded bbftp
you can activate what is called "private-logging" with the
--enable-private-logging switch. As a result both the test_embedded.py
and test_bbftpd.py test scripts can be run without access to syslog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_login.c

    r1357 r1358  
    8181#endif 
    8282 
    83 #include <bbftpd_log.h> 
     83#include <bbftpd_private_log.h> 
    8484 
    8585 
     
    307307    ** Reopen the lag as the pam functions close it 
    308308    */ 
    309 #ifdef NO_SYSLOG 
    310     bbftpd_openlogfile("bbftpd.log", LOG_PID | LOG_NDELAY, BBFTPD_FACILITY); 
    311 #else 
    312309    bbftpd_openlog(daemonchar, LOG_PID | LOG_NDELAY, BBFTPD_FACILITY); 
    313 #endif 
    314310#else 
    315311    /* 
Note: See TracChangeset for help on using the changeset viewer.