Set debugging enablement earlier so it can be used from thrasher_wrapper_init().
[thrasher.git] / libpurple-patches / 80-include_data_in_purple_debug_logs.patch
blobda55dbb87cef49832525657797eba949d7a1f026
1 Include date in purple_debug_* logs.
3 diff a/pidgin/libpurple/debug.c b/pidgin/libpurple/debug.c
4 --- a/pidgin/libpurple/debug.c
5 +++ b/pidgin/libpurple/debug.c
6 @@ -74,7 +74,7 @@ purple_debug_vargs(PurpleDebugLevel level, const char *category,
7 time_t mtime = time(NULL);
10 - mdate = purple_utf8_strftime("%H:%M:%S", localtime(&mtime));
11 + mdate = purple_utf8_strftime("%F %H:%M:%S", localtime(&mtime));
12 ts_s = g_strdup_printf("(%s) ", mdate);
14 if (category == NULL)