[imp] logs

Max Kalika max@the-triumvirate.net
Sat, 21 Oct 2000 11:22:13 -0700 (PDT)


Quoting "Martin A. Marques" <martin@math.unl.edu.ar>:

> Does IMP have a file where he keeps all the logs of the people who tried to 
> login and does who failed?

It would be a great help if you say what version you currently use.

IMP 2.2 can log to syslog via whatever priority you specify:
(in imp/config/defaults.php3)

/* Logging Configuration */
$default->log_prio                       = LOG_INFO;
$default->log_ident                      = 'IMP';
$default->log_auth                       = true;
$default->log_auth_facil                 = LOG_AUTH;


IMP 2.3 can log to either a file or syslog:
(in imp/config/conf.php)

/* Logging and Statistics */
$conf['log'] = array();
$conf['log']['enabled'] = true;
$conf['log']['type'] = 'syslog';   # or 'file'
$conf['log']['name'] = LOG_AUTH;   # or file name
$conf['log']['ident'] = 'IMP';
$conf['log']['conf'] = array();

--mk23