You want to change the directory where audit logs are generated for Web Viewer 12.1.
Environment
Web Viewer 12.1
Resolution
Login as a Web Viewer administrator.
Go to Administration tab.
Click on preferences.
In settings click on Auditing settings.
You will see an input box for "Directory where Audit logs are to be written". You can insert a directory for where you want audit logs to be generated.
Stop and start (restart) your Tomcat service for changes to take effect.