mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-20 23:16:28 -05:00
Minor changes for the new log options.
This commit is contained in:
parent
cb0a280ddc
commit
10d305285c
3 changed files with 3 additions and 5 deletions
2
state.c
2
state.c
|
|
@ -366,7 +366,7 @@ void state_config(struct snapraid_state* state, const char* path, const char* co
|
|||
fprintf(stdlog, "unixtime:%"PRIi64"\n", (int64_t)t);
|
||||
if (tm) {
|
||||
char datetime[64];
|
||||
strftime(datetime, sizeof(datetime), "%F %T", tm);
|
||||
strftime(datetime, sizeof(datetime), "%Y-%m-%d %H:%M:%S", tm);
|
||||
fprintf(stdlog, "time:%s\n", datetime);
|
||||
}
|
||||
fprintf(stdlog, "conf:%s\n", path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue