The /var/iwss/log folder is empty even if performance logs are enabled in /var/iwss/intscan.ini as shown below:
# Performance log directory:
performance_log=/var/iwss/log/perf.log
performance_logdir=/var/iwss/log
performance_usage=on
As shown above, the performance logs are properly activated. However, they are recorded in the database. If you want the performances logs to be written in a text log format, configure the log type in the /etc/iscan/intscan.ini file:
- Log in to IWSVA Linux shell as root.
- Edit the /etc/iscan/intscan.ini by executing the following command:
# vi /etc/iscan/intscan.ini
- Execute "/logtype" command to search for the "logtype" parameter. You will see the following lines:
#how to log: use database or log or both
# 2 - text only (log)
# 1 - both database and log
# 0 - database only
logtype=0The value is “0” by default, which means performance logs are written in the database only.
- Press "i" to modify the value of the parameter. You can change it to “1” if you want logs to be recorded both in the database and as text files.