custom log in website folder
ryan.coleman at cwis.biz
Tue Jul 20 13:55:21 UTC 2010
Assuming you're running apache make the virtualhost directive for the domain look something like this:
CustomLog /usr/local/v/site/logs/domain.com/logs/access_log "combined"
Make the changes to the * if you need to and the domains.
On Jul 20, 2010, at 6:18 AM, Zbigniew Szalbot wrote:
> Dear all,
> All my website logs are in /var/log but one user would like to have
> access to a custom log specific to his site. Sites are in
> How can I make /var/log/custom.log available to him in /usr/local/v/site/logs/?
> Does it need a symlink? But will he be able to read the log if it is
> only a symlink to /var/log/custom.log?
> I'd appreciate your suggestions and sorry for asking a basically
> non-freebsd related question but this community has always been a
> wonderul source of inspiration and help.
> Thank you!
> Zbigniew Szalbot
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions