M. Ranganathan wrote:
> On Fri, Nov 28, 2008 at 12:57 PM, Carolyn Beeton <[EMAIL PROTECTED]> wrote:
>> sipxrelay is sending the following messages to stderr:
>>
>> "SipxProcess[SipXrelay]::commandOutput 'log4j:ERROR setFile(null,true) call
>> failed.'"
>> "SipxProcess[SipXrelay]::commandOutput 'java.io.FileNotFoundException:
>> /sipxconfig.log (Permission denied)'"
> 
> This is very odd because sipxconfig.log is not used by SipXrelay.
> 
> 
> 
>> "SipxProcess[SipXrelay]::commandOutput '        at
>> java.io.FileOutputStream.openAppend(Native Method)'"
>> "SipxProcess[SipXrelay]::commandOutput '        at
>> java.io.FileOutputStream.<init>(FileOutputStream.java:177)'"
>> "SipxProcess[SipXrelay]::commandOutput '        at
>> java.io.FileOutputStream.<init>(FileOutputStream.java:102)'"
>> "SipxProcess[SipXrelay]::commandOutput '        at
>> org.apache.log4j.FileAppender.setFile(FileAppender.java:290)'"
>> …
>> "SipxProcess[SipXrelay]::commandOutput 'java.io.FileNotFoundException:
>> /sipxconfig-logins.log (Permission denied)'"
>>
>> If it is intentionally and correctly including
>> /etc/sipxpbx/log4j.properties, then maybe the problem is that it doesn't
>> have
>>
>> ${jetty.log.dir} - or maybe log4j.properties shouldn't contain
>> ${jetty.log.dir}
> 
> 
> 
> sipxrelay does not use jetty.  Perhaps this is happening because I am
> using PropertyConfigurator.configure(). I'll change this piece of code
> and commit it.
> 

log4j.properties should probably not be monopolized by sipXconfig (it comes
from times when sipXconfig was the only java application in sipx).

I'll gladly move out of the way with it. I do not even remember from top of
my head how sipXconfig is finding it at the moment...
D.

_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to