A
abhi147
Hi ,
I need to know that is it possible to create new log daily on
a running system ?
I am using these basic file write statements to print the logs :
char log_file[80];
FILE *fp_stdout;
FILE *fp_stderr;
sprintf(log_file, "%s.log", "sample");
fp_stdout = fopen(log_file, "a");
Thanks for your help !
I need to know that is it possible to create new log daily on
a running system ?
I am using these basic file write statements to print the logs :
char log_file[80];
FILE *fp_stdout;
FILE *fp_stderr;
sprintf(log_file, "%s.log", "sample");
fp_stdout = fopen(log_file, "a");
Thanks for your help !