Statistics
| Branch: | Revision:

janus-gateway / log.c @ 8241c758

History | View | Annotate | Download (5.51 KB)

# Date Author Comment
cda1586e 12/07/2015 11:40 AM Lorenzo Miniero

Don't close standard file descriptors, let freopen do that

365b8c95 12/07/2015 11:24 AM Lorenzo Miniero

Redirect stdin/stdout/stderr to /dev/null (#407), move the related code to log.c (otherwise log init errors when daemonizing may be lost) and don't enable libnice debugging unless explicitly stated (not even if debug level is 7)

cf52737f 11/26/2015 05:47 PM Pierce Lopez

logging: simplify buffer sizing

no need to try to optimize allocations by rounding up to a power of two
- malloc implementations already do that internally if appropriate (up to a certain size)
- malloc implementations usually include metadata just before or after the allocation,...

f82a8605 11/26/2015 10:52 AM Lorenzo Miniero

Configurable logging and daemonization

4e1324c3 11/25/2015 05:04 PM Lorenzo Miniero

Update janus_log_console when initializing

ccd7cada 11/25/2015 04:45 PM Lorenzo Miniero

Allow for console and/or logfile output (to hook to config/cmd line)
Fix undefined reference in post processing due to new log code
A few changes to align the code style to the code base

a68d3d64 11/25/2015 03:01 PM Jay Ridgeway

ditch vasprintf from glib printf routines

13944742 11/23/2015 01:27 PM Jay Ridgeway

free buffers and synchronization fixes

83c58707 11/22/2015 11:01 PM Jay Ridgeway

remove more glib

950786bd 11/22/2015 03:29 PM Jay Ridgeway

remove timed wait, reduce locking, tabs

2b4a21d5 11/21/2015 08:31 PM Jay Ridgeway

tabs are from the devil

acbb7141 11/21/2015 08:28 PM Jay Ridgeway

formatting

85fc908f 11/21/2015 06:36 PM Jay Ridgeway

init buffered logging