Commit Graph

82 Commits

Author SHA1 Message Date
Anthony Minessale 325cceffc3 pad digit len in micro time log entries
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14735 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-02 15:22:54 +00:00
Anthony Minessale 4622a7a1b3 add ifdef
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14648 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-27 16:04:00 +00:00
Mathieu Rene 5abd10c0c3 refactor mod_event_socket so it uses switch_log functions to duplicate and free log nodes while it uses them internally (fix bad ptr for userdata on event socket listeners)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14598 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-22 19:26:58 +00:00
Mathieu Rene ee4674813f fix leak introduced in 14555
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14590 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-21 22:20:31 +00:00
Mathieu Rene 8e0dcb4f21 don't expose node allocation functions outside of switch_log.c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14556 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-18 18:32:11 +00:00
Mathieu Rene 1c048237d7 refactor node allocation and make a copy of userdata in case the session gets killed before the logger module gets the node
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14555 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-18 18:24:31 +00:00
Mathieu Rene c2d5f970bc Per-call logging, part one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14509 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-13 20:35:02 +00:00
Anthony Minessale 55c8fbad76 add sofia tracelevel <level> and tracelevel param in <settings>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13735 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 19:52:07 +00:00
Anthony Minessale e346b6dca7 add usec delta to log
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13647 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-05 19:49:19 +00:00
Stefan Knoblich 0193119a5e Do not use struct fd_set uninitialized (always FD_ZERO() them, before using FD_SET() on a new one, or reusing them after select()). Fixes a segfault on solaris
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13125 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-22 23:34:48 +00:00
Mathieu Rene add42a2759 Move sofia logging to the core logging engine, add change sofia loglevel api and add sofia profile xxx siptrace on-off for TPORT_LOG
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 18:54:43 +00:00
Anthony Minessale 9d6dd53afc reduce memory usage
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 22:30:00 +00:00
Michael Jerris 1e4c49ebc3 clean msvc build warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12183 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-20 18:04:57 +00:00
Anthony Minessale f125872c73 FSCORE-297
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-20 01:10:59 +00:00
Brian West babb2f83f5 update copyright
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Brian West ae220d3341 update email
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Anthony Minessale 0463541d61 change low res sleep func api names
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11486 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-25 21:23:07 +00:00
Anthony Minessale 863c576784 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11033 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-31 19:07:20 +00:00
Anthony Minessale 236fe3d131 change event_socket to have more info about log lines
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-20 14:56:08 +00:00
Anthony Minessale 57950f2927 remove unneeded fflush
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10883 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-19 17:12:27 +00:00
Anthony Minessale 2ed601f934 more stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-14 23:31:21 +00:00
Michael Jerris 41812748fb make valgrind not complain about these threads
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10040 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-15 23:13:36 +00:00
Michael Jerris 1f47ff15b3 validate strftime format string input (when necessary)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9985 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-12 21:51:51 +00:00
Stefan Knoblich f921389078 Use switch_event_add_header_string() instead of switch_event_add_header(... "%s", ..), core part
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-16 02:17:09 +00:00
Anthony Minessale 481aee4ad7 doh doh doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9132 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-22 15:59:06 +00:00
Anthony Minessale 840b9f3367 minor logger tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9035 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-15 14:56:30 +00:00
Michael Jerris 6687f151e7 tweak colors on windows to match unix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-14 17:09:47 +00:00
Michael Jerris b55bd6370e build tweaks for msvc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9014 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-14 14:55:03 +00:00
Anthony Minessale 97dad7b353 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9012 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-14 13:44:25 +00:00
Anthony Minessale 0f873e692b fix FSCORE-156
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8997 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-11 14:35:08 +00:00
Michael Jerris 64997c4d8e vim extendtab is bad
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 19:12:26 +00:00
Anthony Minessale 3c349c274e indent pass 1
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8686 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:30:03 +00:00
Anthony Minessale d9bdd7db0b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8581 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 05:09:50 +00:00
Michael Jerris f4e5aa395e Avoid fflush-ing NULL. Found by Klockwork (www.klocwork.com)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8424 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-15 21:31:47 +00:00
Anthony Minessale 1cf6273641 spray the core with scotchguard(tm)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7889 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-14 03:47:45 +00:00
Brian West b0ad7ab50c set tab mode properly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:14:57 +00:00
Brian West 84161010ab cleanup and consistency.. blah rain @ PHX fun
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 20:01:02 +00:00
Brian West 935cbcf937 more cleanup before I leave LAX
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7394 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 17:42:51 +00:00
Anthony Minessale a2d8262289 add resistance on blocking writes to stdout
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7363 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-25 23:09:33 +00:00
Michael Jerris 54ec86f6ce use switch_snprintf instead of snprintf becuase in insures null termination of strings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 21:53:32 +00:00
Michael Jerris e46266fb4f cleanup, null checks. etc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6673 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 21:31:57 +00:00
Michael Jerris 55a194e54e use switch_assert macro
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 19:23:57 +00:00
Michael Jerris cc71ce69e0 handle invalid log level strings. (FSCORE-69)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6604 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-10 19:16:50 +00:00
Michael Jerris 18ca278d9b only set console when we have a console
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6535 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-06 13:40:00 +00:00
Anthony Minessale b2dd6b51f5 change logger stuff and finalize mod_logfile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6524 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-05 20:24:20 +00:00
Anthony Minessale 3711220ae5 sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5803 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 21:15:08 +00:00
Anthony Minessale f82e478cb5 more cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5800 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 20:22:37 +00:00
Anthony Minessale 2222933908 a bunch of fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 17:25:06 +00:00
Anthony Minessale 1667112b3b add fsctl loglevel [<level>] fsctl command
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5790 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-03 23:43:01 +00:00
Anthony Minessale bd6bd9ad57 add softtimer to the core, begin framework for static modules and reduces calls to gettimeofday for timestamps
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-03 16:44:11 +00:00