Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] mod_python and logs


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
david.villasmil.work a...
Guest





PostPosted: Mon Nov 09, 2020 2:46 pm    Post subject: [Freeswitch-users] mod_python and logs Reply with quote

Hello all,

So I'm using fluentd to ship all my logs and i enabled the printing of the UUID to the log on every line.
Thing is when printing from a python script, there's no UUID (the script is triggered by an incoming call). Looking at the code i don't think there's a way of printing it via config, but I wanted to confirm this.
Thanks and Regards,


David Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337
Back to top
joel at textplus.com
Guest





PostPosted: Mon Nov 09, 2020 3:45 pm    Post subject: [Freeswitch-users] mod_python and logs Reply with quote

How exactly are you logging?

If you do api.consoleLog you need to add UUID manually, if you do session.consoleLog UUID is added automatically.. depends on what/where you are logging.


On Mon, Nov 9, 2020 at 11:38 AM David Villasmil <david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)> wrote:

Quote:
Hello all,

So I'm using fluentd to ship all my logs and i enabled the printing of the UUID to the log on every line.
Thing is when printing from a python script, there's no UUID (the script is triggered by an incoming call). Looking at the code i don't think there's a way of printing it via config, but I wanted to confirm this.
Thanks and Regards,


David Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337





_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com (sales@freeswitch.com)
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
david.villasmil.work a...
Guest





PostPosted: Mon Nov 09, 2020 5:52 pm    Post subject: [Freeswitch-users] mod_python and logs Reply with quote

Ahá! I’m doing the former. Will try the latter. Many thanks man!

On Mon, 9 Nov 2020 at 20:20, Joel Serrano <joel@textplus.com (joel@textplus.com)> wrote:

Quote:
How exactly are you logging?

If you do api.consoleLog you need to add UUID manually, if you do session.consoleLog UUID is added automatically.. depends on what/where you are logging.



On Mon, Nov 9, 2020 at 11:38 AM David Villasmil <david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)> wrote:



Quote:
Hello all,

So I'm using fluentd to ship all my logs and i enabled the printing of the UUID to the log on every line.
Thing is when printing from a python script, there's no UUID (the script is triggered by an incoming call). Looking at the code i don't think there's a way of printing it via config, but I wanted to confirm this.
Thanks and Regards,


David Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337






Quote:
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com (sales@freeswitch.com)
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com (sales@freeswitch.com)
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com


--
Regards,


David Villasmilemail: david.villasmil.work@gmail.com (david.villasmil.work@gmail.com)
phone: +34669448337
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services