Skip to content

Commit 4b2861c

Browse files
committed
Increase date_stamp size for log files
1 parent fb1647c commit 4b2861c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/yder.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ static void y_write_log_journald(const char * app_name, const unsigned long leve
149149
* Append log message to the log file
150150
*/
151151
static void y_write_log_file(const char * app_name, const char * date_format, const time_t date, FILE * log_file, const unsigned long level, const char * message, int split) {
152-
char * level_name = NULL, date_stamp[20], ** message_split = NULL;
152+
char * level_name = NULL, date_stamp[64], ** message_split = NULL;
153153
struct tm tm_stamp;
154154
size_t i;
155155

0 commit comments

Comments
 (0)