Nils Breunese (Lemonbit Internet) ha scritto:
Boniforti Flavio wrote:

otrs.log file permissions are as follows:

-rw-r--r--  1 root        root      0 2006-07-19 13:24 otrs.log

I want it to be logging *only* in /var/log/otrs.log, what am I missing?

The permissions don't look okay to me. If you set it like this only the root user can write to otrs.log while OTRS doesn't run as root (probably as user otrs). Change the owner or the permissions to allow user otrs to write to this file.

Wo! You're almost right. It was *indeed* the permission thing. It should have been obvious to me that it was writing correctly to /var/log/messages because the syslog facility is run by root. To be able to write to /var/log/otrs.log I just had to use the www-data user (chown-ing to that user/group).

There it goes!

Thanks!
--
----------------------------------
Boniforti Flavio
Provincia del Verbano-Cusio-Ossola
Ufficio Informatica

Tecnoparco del Lago Maggiore
Via dell'Industria, 25
28924 Verbania
----------------------------------
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support orr consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to