[OpenSIPS-Devel] 回复: opensips log file dose not work
Liviu Chircu
liviu at opensips.org
Thu Sep 22 14:50:44 CEST 2016
Maybe you forgot to reload/restart the rsyslog daemon?
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 22.09.2016 15:15, 龙 wrote:
> Hi Liviu:
> thanks for your suggestion。
> I‘m sure the file and the directory has -rwxrwxrwx permissions andI
> use root did it with opensips2.2.1 and centos6.6。
> I make /var/log/opensips.log work as following:
> touch /var/log/opensips.log
> add “ local0.* /var/log/opensips.log ” into
> /etc/rsyslog.conf
> service rsyslog restart
> But when I change "/var/log/opensips.log" to
> "/export/opensips/log/opensips.log" or"/usr/local/opensips.log" ..eg
> it doesn't work.
> I'm confuse with it。
> liu jinlong
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "Liviu Chircu";<liviu at opensips.org>;
> *发送时间:* 2016年9月22日(星期四) 下午3:42
> *收件人:* "devel"<devel at lists.opensips.org>;
> *主题:* Re: [OpenSIPS-Devel] opensips log file dose not work
>
> Hi!
>
> If you made "/var/log/opensips.log" work, then please ensure write
> permissions on "/export/opensips/log/" for the user you're running
> OpenSIPS with, so it can create the file.
>
> Liviu Chircu
> OpenSIPS Developer
> http://www.opensips-solutions.com
> On 22.09.2016 09:37, 龙 wrote:
>> hi everone:
>> I want change opensips log file location ,and I make it
>> work in /var/log/opensips.log
>> but when change the directory to an
>> /export/opensips/log/opensips.log it dose not work. I don't kown why.
>> does it has samething else to do? I need your help.
>>
>> liujinlong
>>
>>
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160922/0295540f/attachment.htm>
More information about the Devel
mailing list