a2o / snoopy

Snoopy Command Logger is a small library that logs all program executions on your Linux/BSD system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

different formats for %{datetime}

ky4k0b opened this issue · comments

it would be great to have an option of setting different formats for timestaps not only ISO 8601
for example I use the following format for all my logs YYYY-MM-DD HH:MM:SS

Ha, my first thought was wait, isn't this already supported? :)

Good suggestion, @ky4k0b, thanks. Should happen in the next version.

If you want to give it a shot with a PR, the relevant code is in the src/datasource/datetime.* files. Nevermind, #195.

@ky4k0b, the feature has been merged. Can you build Snoopy from the latest master and let me know if you spot any issues?

@bostjan
just what I needed. Thanks for quick fix