if you delete the sipx logs while the system is running, it will create the files and continue logging, just that the expectation is not the same with freeswitch, because it uses it own logging mechanism (i.e., log4j is not used for FS)... i would suspect this is a question and/or enhancement for FS from that project though.
On Mon, Sep 12, 2011 at 1:24 AM, Kumaran T <[email protected]>wrote: > Hi Douglas, > Thanks for the update.. I'm not expecting the logs to recreate > where it left off ...I'm expecting the freeswitch.log file itself should > be generated but its not happening.. > Scenario: > 1.cd /var/log/sipxpbx > 2.rm -rf freeswitch.log > 3.calling 100 or 101 or OpenAcd > 4.freeswitch.log file is not generated or created > 5. It will generate the freeswitch.log file when we reboot or > restart all the services.. > > Regards, > Venkateshwaran T > > On 9/9/2011 7:21 PM, Douglas Hubler wrote: > > On Fri, Sep 9, 2011 at 9:09 AM, Kumaran T > > <[email protected]> wrote: > >> For taking fresh freeswitch.log,I had removed the freeswitch.log > >> from /var/log/sipxpbx.And then I dialed 100,101,OpenAcd line but the > >> freeswitch.log was never created automatically. > >> It will generate automatically only if I reboot the Server or > >> Restart all the services...IMO it should generate logs automatically > >> when the freeswitch is involved(ie calling 100 or OpenACD line) > > You deleted a log file while a freeswitch was running and expect the > > process will gracefully recreate log where it left off? If so, that > > seems like wishful thinking., but apparently it doesn't work like that > > and I wouldn't consider this a bug or at least one we need to worry > > about IMHO. > > _______________________________________________ > sipx-users mailing list > [email protected] > List Archive: http://list.sipfoundry.org/archive/sipx-users/ > -- ====================== Tony Graziano, Manager Telephone: 434.984.8430 sip: [email protected] Fax: 434.465.6833 Email: [email protected] LAN/Telephony/Security and Control Systems Helpdesk: Telephone: 434.984.8426 sip: [email protected] Helpdesk Contract Customers: http://support.myitdepartment.net <http://support.myitdepartment.net>Blog: http://blog.myitdepartment.net Linked-In Profile: http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4 Ask about our Internet faxservices!
_______________________________________________ sipx-users mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-users/
