Switch -ILOG[name] - log errors to file
Write error messages to the file rar.log created in WinRAR folder. You can view this file contents with "View log…" command in Options menu. It is possible to specify another log file name instead of the default rar.log in the switch, for example, -ilogc:\log\backup.log. If the specified name does not include the path, the log file will be created in %APPDATA%\WinRAR folder.
If "Log errors to file" option in System settings dialog is enabled, error messages will be written to rar.log even without -ilog switch.
By default, the log file uses UTF-16 little endian encoding, but it can be changed with -sc<charset>g switch, such as -scag for native single byte encoding.