Laurent Bercot <[email protected]> wrote: > Can't you run a simple filter like tai64nlocal or s6-tai64nlocal when > you need to read the logs ?
I think Caleb is talking about the filenames, not the timestamps within the log contents. This is hackish, but you could set a processor like this: svlogd '!set @*.t && test 1 = "$#" && readable=`echo "$1" | TZ=UTC tai64nlocal` && ln "$1" "$readable"' ./main/ Note: - Each log file would then have two names. If you want to remove the @*.s names, that could also be done withing the processor. - The filenames in my command would look like "2015-01-05 10:56:43.015729500.t"; if you want a different suffix or a prefix you'd have to add that. - TZ=UTC uses UTC for the filenames, matching svlogd's -tt stamps in the log contents. But use TZ=right/UTC if your system clock is TAI-10 instead of POSIX. paul
