Author Topic: Logs and attached in RC  (Read 3893 times)

Offline Account

  • Newbie
  • *
  • Posts: 1
Logs and attached in RC
« on: January 01, 2013, 03:14:41 PM »
Hi!
Doesn't write a log and an error on attachments.

Система и софт
Code: [Select]
FreeBSD 9.0-RELEASE-p4
apache22-2.2.22_8
cyrus-imapd-2.4.16
cyrus-sasl-2.1.25_2
php53-5.3.17
php53-bz2-5.3.17
php53-ctype-5.3.17
php53-curl-5.3.17
php53-dom-5.3.17
php53-fileinfo-5.3.17
php53-filter-5.3.17
php53-gd-5.3.17
php53-gettext-5.3.17
php53-hash-5.3.17
php53-iconv-5.3.17
php53-json-5.3.17
php53-mbstring-5.3.17
php53-mcrypt-5.3.17
php53-mysql-5.3.17
php53-mysqli-5.3.17
php53-openssl-5.3.17
php53-pdo-5.3.17
php53-pdo_sqlite-5.3.17
php53-posix-5.3.17
php53-session-5.3.17
php53-simplexml-5.3.17
php53-sqlite-5.3.17
php53-tokenizer-5.3.17
php53-xml-5.3.17
php53-xmlreader-5.3.17
php53-xmlwriter-5.3.17
php53-zip-5.3.17
php53-zlib-5.3.17
phpMyAdmin-3.5.3
roundcube-0.8.4,1

В main.inc.php
Code: [Select]
$rcmail_config['debug_level'] = 1;

// log driver:  'syslog' or 'file'.
$rcmail_config['log_driver'] = 'file';

// date format for log entries
// (read http://php.net/manual/en/function.date.php for all format characters) 
$rcmail_config['log_date_format'] = 'd-M-Y H:i:s O';

// Syslog ident string to use, if using the 'syslog' log driver.
$rcmail_config['syslog_id'] = 'roundcube';

// Syslog facility to use, if using the 'syslog' log driver.
// For possible values see installer or http://php.net/manual/en/function.openlog.php
$rcmail_config['syslog_facility'] = LOG_USER;

// Log sent messages to <log_dir>/sendmail or to syslog
$rcmail_config['smtp_log'] = true;

// Log successful logins to <log_dir>/userlogins or to syslog
$rcmail_config['log_logins'] = true;

// Log session authentication errors to <log_dir>/session or to syslog
$rcmail_config['log_session'] = true;

// Log SQL queries to <log_dir>/sql or to syslog
$rcmail_config['sql_debug'] = false;

// Log IMAP conversation to <log_dir>/imap or to syslog
$rcmail_config['imap_debug'] = true;

// Log LDAP conversation to <log_dir>/ldap or to syslog
$rcmail_config['ldap_debug'] = false;

// Log SMTP conversation to <log_dir>/smtp or to syslog
$rcmail_config['smtp_debug'] = true;

В php.ini
Code: [Select]
...
file_uploads = On
...

Code: [Select]
drwxrwxrwx   2 www   www      512 Nov 15 00:30 logs
drwxrwxrwx   2 www   www      512 Jan  1 21:11 temp