Hello all,

>>>>> "Knut" == Knut Urdalen <[EMAIL PROTECTED]> writes:

    Knut> Christian Hammers wrote:
    >> Would adding a file_mode=0664 flag to the FileAppender be a
    >> proper way to solve this problem?

    Knut> Have you tried running the console scripts as the same user
    Knut> as the webserver?

    Knut> Example:
    Knut> $ sudo -u www-data php script.php

    Knut> log4j doesn't seem to have this feature so I think this is
    Knut> the right thing to do.

I disussed almost the same issue with the log4perl guys as the problem
Christian described is actually a major problem in our project. I
think it would be a great idea to permit specification of the file
mode via the configuration.

Regards,
Michael.

Reply via email to