[Freeswitch-users] Using Lua logging from mod_lua

Chad Phillips chad at apartmentlines.com
Fri Oct 5 15:50:23 MSD 2012


i recommend luarocks for managing external Lua packages: http://luarocks.org 

then, have a look at conf/autoload_configs/lua.conf.xml. you can add the luarocks package directories for LUA_PATH and LUA_CPATH in that file, and FreeSWITCH will then be able to find the packages after a mod_lua reload.

hunmonk 


On Wednesday, October 3, 2012 at 8:04 PM, JP wrote:

> Hi,
> I am a newbie developer of FreeSWITCH. I have Lua scripts that FreeSWITCH is executing perfectly. But I need to log things from my Lua scripts that I don't want mixed with FreeSWITCH's logs. I looked at (https://github.com/Neopallium/lualogging) to do this. But how do I make mod_lua in FreeSWITCH link with lualogging. Is there any other solution to my problem? Thanks in advance.
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org (mailto:consulting at freeswitch.org)
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org (mailto:FreeSWITCH-users at lists.freeswitch.org)
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121005/224e5693/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list