Fix so performance stats are logged to the main console log also when per_user_logging=true

pull/6573/head
Aleksander Machniak 6 years ago
parent d3c65d752b
commit 8a04d3f993

@ -37,6 +37,7 @@ CHANGELOG Roundcube Webmail
- Elastic: Fix unwanted thread expanding when selecting a collapsed thread in non-mobile mode (#6445)
- Elastic: Add "status bar" for mobile in mail composer
- Log errors caused by low pcre.backtrack_limit when sending a mail message (#6433)
- Fix so performance stats are logged to the main console log also when per_user_logging=true
- Fix malformed message saved into Sent folder when using big attachments and low memory limit (#6498)
- Fix incorrect IMAP SASL GSSAPI negotiation (#6308)
- Fix so unicode in local part of the email address is also supported in recipient inputs (#6490)

@ -893,6 +893,9 @@ class rcmail extends rcube
// write performance stats to logs/console
if ($this->config->get('devel_mode') || $this->config->get('performance_stats')) {
// we have to disable per_user_logging to make sure stats end up in the main console log
$this->config->set('per_user_logging', false);
// make sure logged numbers use unified format
setlocale(LC_NUMERIC, 'en_US.utf8', 'en_US.UTF-8', 'en_US', 'C');

Loading…
Cancel
Save