Navigation


Changeset 895:fbf77629cb7b in freeDiameter for libfdproto/msg_log.c


Ignore:
Timestamp:
Nov 30, 2012, 8:44:10 AM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Added received and sent timestamps in the messages; added logs on emission and reception

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdproto/msg_log.c

    r765 r895  
    166166        (void)pthread_mutex_lock(&fd_log_lock);
    167167        pthread_cleanup_push(fd_cleanup_mutex_silent, &fd_log_lock);
     168        fprintf( fstr, "\n");
    168169        va_start(ap, prefix_format);
    169170        vfprintf( fstr, prefix_format, ap);
     
    173174        (void)pthread_mutex_unlock(&fd_log_lock);
    174175       
    175         fd_log_debug_fstr(fstr, "\nLogged: %s\n\n", buftime);
     176        fd_log_debug_fstr(fstr, "\n Logged: %s\n", buftime);
    176177       
    177178        /* And now the message itself */
Note: See TracChangeset for help on using the changeset viewer.