6.0.0-alpha10
5/16/25

[#14842] Enable ActiveSync logging -> no logfile
Summary Enable ActiveSync logging -> no logfile
Queue Synchronization
Queue Version FRAMEWORK_5_2
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester samuel.wolf (at) wolf-maschinenbau (dot) de
Created 08/03/2018 (2478 days ago)
Due
Updated 08/04/2018 (2477 days ago)
Assigned
Resolved 08/04/2018 (2477 days ago)
Milestone
Patch No

History
08/04/2018 08:54:56 PM Michael Rubinsky State ⇒ Not A Bug
 
08/03/2018 04:43:30 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #3 Reply to this comment
For documentation:
If "PrivateTmp=true" is enabled in systemd for apache2 and you add 
/tmp to the Horde config it will log as expected in the privat tmp.

Example:
/tmp/systemd-private-XXXX-apache2.service-XXXX/tmp

Be carefully, apache2 service restart delete the logs...!
My config/conf.php
$conf['activesync']['logging']['path'] = '/tmp';
Sorry for the bug ticket.
08/03/2018 04:12:58 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #2 Reply to this comment
This is not an Horde issue, systemd and apache2 use now "PrivateTmp=true".
But for some reason there is no log file in the privat tmp location of 
apache2...

Disable it now for debugging...
08/03/2018 01:59:41 PM samuel (dot) wolf (at) wolf-maschinenbau (dot) de Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ Enable ActiveSync logging -> no logfile
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
I have the same issue:
https://marc.info/?t=152943883600001&r=1&w=2

My config/conf.php
$conf['activesync']['logging']['path'] = '/tmp';
$conf['activesync']['logging']['level'] = '2';
$conf['activesync']['logging']['type'] = 'perdevice';

ls -l | grep tmp
drwxrwxrwt  11 root root 270336 Aug  3 15:55 tmp

There is no log file, I can do what I want.

Horde_ActiveSync           2.39.3  stable
Horde_Core                 2.31.3  stable
php7.0                            7.0.30-0+deb9u1

Saved Queries