how to change default sudo-io location; iolog_dir ; iolog_file

mirosm via sudo-users <[email protected]>
Newsgroups gmane.comp.tools.sudo.user
Message-ID <axbU4QJT9_6OinwmPElfhX89dxZmm7z433GRRiyiMwAAj2jKq9BN4gOvB3vHNtv2YFsN2bjKn3ed1wfGqS4ZfXfo4kBpgpx5Bk4b01fT1A8=@protonmail.ch>
Hello,

I would like to change the default path for sudo-io logs from:
/var/log/sudo-io/XX/XX/XX
to something as close as:
/var/log/sudo-io/$hostname/$username/$epochtime

I did have some luck with option iolog_dir setting the %{user} and iolog_dir
eg. iolog_dir=/var/log/sudo-io/%{user}

But still is looking similar to default: /var/log/sudo-io/username/XX/XX/XX

Also what ver of sudo I need to work with iolog_dir ;iolog_file?

Thank you for any help.

BR
Miro
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.